PHP 7.4.33
Preview: env.js Size: 867 B
/var/www/DMGMultiEventApiHandler.bitkit.dk/httpdocs/node_modules/set-function-length/env.js
'use strict';

var gOPD = require('gopd');
var bind = require('function-bind');

var unbound = gOPD && gOPD(function () {}, 'length');
// @ts-expect-error ts(2555) TS is overly strict with .call
var bound = gOPD && gOPD(bind.call(function () {}), 'length');

var functionsHaveConfigurableLengths = !!(unbound && unbound.configurable);

var functionsHaveWritableLengths = !!(unbound && unbound.writable);

var boundFnsHaveConfigurableLengths = !!(bound && bound.configurable);

var boundFnsHaveWritableLengths = !!(bound && bound.writable);

/** @type {import('./env')} */
module.exports = {
	__proto__: null,
	boundFnsHaveConfigurableLengths: boundFnsHaveConfigurableLengths,
	boundFnsHaveWritableLengths: boundFnsHaveWritableLengths,
	functionsHaveConfigurableLengths: functionsHaveConfigurableLengths,
	functionsHaveWritableLengths: functionsHaveWritableLengths
};

Directory Contents

Dirs: 1 × Files: 11
Name Size Perms Modified Actions
.github DIR
- drwxr-xr-x 2024-09-19 04:54:51
Edit Download
404 B lrw-r--r-- 2024-09-19 04:54:51
Edit Download
216 B lrw-r--r-- 2024-09-19 04:54:51
Edit Download
4.76 KB lrw-r--r-- 2024-09-19 04:54:51
Edit Download
222 B lrw-r--r-- 2024-09-19 04:54:51
Edit Download
867 B lrw-r--r-- 2024-09-19 04:54:51
Edit Download
256 B lrw-r--r-- 2024-09-19 04:54:51
Edit Download
1.24 KB lrw-r--r-- 2024-09-19 04:54:51
Edit Download
1.06 KB lrw-r--r-- 2024-09-19 04:54:51
Edit Download
2.64 KB lrw-r--r-- 2024-09-19 04:54:51
Edit Download
2.12 KB lrw-r--r-- 2024-09-19 04:54:51
Edit Download
116 B lrw-r--r-- 2024-09-19 04:54:51
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).