$10 GRAYBYTE WORDPRESS FILE MANAGER $45

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

/opt/alt/alt-nodejs11/root/usr/lib/node_modules/npm/node_modules.bundled/genfun/lib/

HOME
Current File : /opt/alt/alt-nodejs11/root/usr/lib/node_modules/npm/node_modules.bundled/genfun/lib//util.js
'use strict'

module.exports.isObjectProto = isObjectProto
function isObjectProto (obj) {
  return obj === Object.prototype
}

const _null = {}
const _undefined = {}
const Bool = Boolean
const Num = Number
const Str = String
const boolCache = {
  true: new Bool(true),
  false: new Bool(false)
}
const numCache = {}
const strCache = {}

/*
 * Returns a useful dispatch object for value using a process similar to
 * the ToObject operation specified in http://es5.github.com/#x9.9
 */
module.exports.dispatchableObject = dispatchableObject
function dispatchableObject (value) {
  // To shut up jshint, which doesn't let me turn off this warning.
  const Obj = Object
  if (value === null) { return _null }
  if (value === undefined) { return _undefined }
  switch (typeof value) {
    case 'object': return value
    case 'boolean': return boolCache[value]
    case 'number': return numCache[value] || (numCache[value] = new Num(value))
    case 'string': return strCache[value] || (strCache[value] = new Str(value))
    default: return new Obj(value)
  }
}


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
1 Jan 1970 12.00 AM
root / root
0
genfun.js
8.397 KB
19 Oct 2021 9.47 AM
root / root
0644
method.js
2.252 KB
19 Oct 2021 9.47 AM
root / root
0644
role.js
0.396 KB
19 Oct 2021 9.47 AM
root / root
0644
util.js
1.032 KB
19 Oct 2021 9.47 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF