PHP 7.4.33
Preview: index.js Size: 511 B
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/call-bind-apply-helpers/index.js
'use strict';

var bind = require('function-bind');
var $TypeError = require('es-errors/type');

var $call = require('./functionCall');
var $actualApply = require('./actualApply');

/** @type {(args: [Function, thisArg?: unknown, ...args: unknown[]]) => Function} TODO FIXME, find a way to use import('.') */
module.exports = function callBindBasic(args) {
	if (args.length < 1 || typeof args[0] !== 'function') {
		throw new $TypeError('a function is required');
	}
	return $actualApply(bind, $call, args);
};

Directory Contents

Dirs: 2 × Files: 19
Name Size Perms Modified Actions
.github DIR
- drwxr-xr-x 2025-03-28 11:04:37
Edit Download
test DIR
- drwxr-xr-x 2025-03-28 11:04:36
Edit Download
232 B lrw-r--r-- 2025-03-28 11:04:36
Edit Download
139 B lrw-r--r-- 2025-03-28 11:04:36
Edit Download
23 B lrw-r--r-- 2025-03-28 11:04:36
Edit Download
280 B lrw-r--r-- 2025-03-28 11:04:36
Edit Download
614 B lrw-r--r-- 2025-03-28 11:04:36
Edit Download
264 B lrw-r--r-- 2025-03-28 11:04:36
Edit Download
1.89 KB lrw-r--r-- 2025-03-28 11:04:36
Edit Download
34 B lrw-r--r-- 2025-03-28 11:04:36
Edit Download
99 B lrw-r--r-- 2025-03-28 11:04:36
Edit Download
33 B lrw-r--r-- 2025-03-28 11:04:37
Edit Download
97 B lrw-r--r-- 2025-03-28 11:04:36
Edit Download
2.17 KB lrw-r--r-- 2025-03-28 11:04:37
Edit Download
511 B lrw-r--r-- 2025-03-28 11:04:36
Edit Download
1.05 KB lrw-r--r-- 2025-03-28 11:04:36
Edit Download
2.42 KB lrw-r--r-- 2025-03-28 11:04:36
Edit Download
2.28 KB lrw-r--r-- 2025-03-28 11:04:36
Edit Download
82 B lrw-r--r-- 2025-03-28 11:04:37
Edit Download
132 B lrw-r--r-- 2025-03-28 11:04:36
Edit Download
115 B lrw-r--r-- 2025-03-28 11:04:36
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).