tweb/public/26.3728922ed59faa39207a.chunk.js
morethanwords 9f65dd79ec 1.0.0
2021-12-11 21:22:24 +04:00

2 lines
663 B
JavaScript

(this.webpackJsonp=this.webpackJsonp||[]).push([[26],{28:function(t,r,o){"use strict";o.r(r),String.prototype.toUserId=function(){return(+this).toUserId()},String.prototype.toChatId=function(){return(+this).toChatId()},String.prototype.toPeerId=function(t){return(+this).toPeerId(t)},String.prototype.isPeerId=function(){return/^[\d-]/.test(this.toString())},Number.prototype.toUserId=function(){return this},Number.prototype.toChatId=function(){return Math.abs(this)},Number.prototype.toPeerId=function(t){return void 0===t?this:t?-Math.abs(this):this},Number.prototype.isPeerId=function(){return!0}}}]);
//# sourceMappingURL=26.3728922ed59faa39207a.chunk.js.map