Buckets:
| ; | |
| var GetIntrinsic = require('get-intrinsic'); | |
| var callBindBasic = require('call-bind-apply-helpers'); | |
| /** @type {(thisArg: string, searchString: string, position?: number) => number} */ | |
| var $indexOf = callBindBasic([GetIntrinsic('%String.prototype.indexOf%')]); | |
| /** @type {import('.')} */ | |
| module.exports = function callBoundIntrinsic(name, allowMissing) { | |
| /* eslint no-extra-parens: 0 */ | |
| var intrinsic = /** @type {(this: unknown, ...args: unknown[]) => unknown} */ (GetIntrinsic(name, !!allowMissing)); | |
| if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) { | |
| return callBindBasic(/** @type {const} */ ([intrinsic])); | |
| } | |
| return intrinsic; | |
| }; | |
Xet Storage Details
- Size:
- 687 Bytes
- Xet hash:
- ea02b7cfda0a2ae45f9180f6c337dfdece1b852d9c25b46b6427eeff8ff679d9
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.