PATH:
usr
/
lib
/
node_modules
/
forever
/
node_modules
/
call-bound
'use strict'; 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-disable-next-line no-extra-parens var intrinsic = /** @type {Parameters<typeof callBindBasic>[0][0]} */ (GetIntrinsic(name, !!allowMissing)); if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) { return callBindBasic([intrinsic]); } return intrinsic; };
[-] tsconfig.json
[edit]
[-] .nycrc
[edit]
[-] README.md
[edit]
[-] package.json
[edit]
[+]
.github
[+]
..
[+]
test
[-] LICENSE
[edit]
[-] .eslintrc
[edit]
[-] index.d.ts
[edit]
[-] index.js
[edit]
[-] CHANGELOG.md
[edit]