$87 GRAYBYTE WORDPRESS FILE MANAGER $26

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/alt-nodejs12/root/usr/lib/node_modules/npm/node_modules.bundled/is-callable/

HOME
Current File : /opt/alt/alt-nodejs12/root/usr/lib/node_modules/npm/node_modules.bundled/is-callable//index.js
'use strict';

var fnToStr = Function.prototype.toString;

var constructorRegex = /^\s*class\b/;
var isES6ClassFn = function isES6ClassFunction(value) {
	try {
		var fnStr = fnToStr.call(value);
		return constructorRegex.test(fnStr);
	} catch (e) {
		return false; // not a function
	}
};

var tryFunctionObject = function tryFunctionToStr(value) {
	try {
		if (isES6ClassFn(value)) { return false; }
		fnToStr.call(value);
		return true;
	} catch (e) {
		return false;
	}
};
var toStr = Object.prototype.toString;
var fnClass = '[object Function]';
var genClass = '[object GeneratorFunction]';
var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';

module.exports = function isCallable(value) {
	if (!value) { return false; }
	if (typeof value !== 'function' && typeof value !== 'object') { return false; }
	if (typeof value === 'function' && !value.prototype) { return true; }
	if (hasToStringTag) { return tryFunctionObject(value); }
	if (isES6ClassFn(value)) { return false; }
	var strClass = toStr.call(value);
	return strClass === fnClass || strClass === genClass;
};


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
19 Mar 2026 8.43 AM
root / root
0755
.editorconfig
0.279 KB
9 Mar 2026 7.21 AM
root / root
0644
.istanbul.yml
0.97 KB
9 Mar 2026 7.21 AM
root / root
0644
.jscs.json
4.031 KB
9 Mar 2026 7.21 AM
root / root
0644
.travis.yml
6.58 KB
9 Mar 2026 7.21 AM
root / root
0644
CHANGELOG.md
1.961 KB
9 Mar 2026 7.21 AM
root / root
0644
LICENSE
1.057 KB
9 Mar 2026 7.21 AM
root / root
0644
Makefile
3.744 KB
9 Mar 2026 7.21 AM
root / root
0644
README.md
1.932 KB
9 Mar 2026 7.21 AM
root / root
0644
index.js
1.087 KB
9 Mar 2026 7.21 AM
root / root
0644
package.json
2.854 KB
9 Mar 2026 7.21 AM
root / root
0644
test.js
5.411 KB
9 Mar 2026 7.21 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF