REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 1.45 KB
Close
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/redux/src/utils/kindOf.js
Text
Base64
// Inlined / shortened version of `kindOf` from https://github.com/jonschlinkert/kind-of function miniKindOf(val) { if (val === void 0) return 'undefined' if (val === null) return 'null' const type = typeof val switch (type) { case 'boolean': case 'string': case 'number': case 'symbol': case 'function': { return type } default: break } if (Array.isArray(val)) return 'array' if (isDate(val)) return 'date' if (isError(val)) return 'error' const constructorName = ctorName(val) switch (constructorName) { case 'Symbol': case 'Promise': case 'WeakMap': case 'WeakSet': case 'Map': case 'Set': return constructorName default: break } // other return type.slice(8, -1).toLowerCase().replace(/\s/g, '') } function ctorName(val) { return typeof val.constructor === 'function' ? val.constructor.name : null } function isError(val) { return ( val instanceof Error || (typeof val.message === 'string' && val.constructor && typeof val.constructor.stackTraceLimit === 'number') ) } function isDate(val) { if (val instanceof Date) return true return ( typeof val.toDateString === 'function' && typeof val.getDate === 'function' && typeof val.setDate === 'function' ) } export function kindOf(val) { let typeOfVal = typeof val if (process.env.NODE_ENV !== 'production') { typeOfVal = miniKindOf(val) } return typeOfVal }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 6
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
actionTypes.js
569 B
lrw-r--r--
2026-02-28 00:26:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
formatProdErrorMessage.js
550 B
lrw-r--r--
2026-02-28 00:27:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
isPlainObject.js
392 B
lrw-r--r--
2026-02-28 00:27:56
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
kindOf.js
1.45 KB
lrw-r--r--
2026-02-28 00:28:00
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
symbol-observable.js
152 B
lrw-r--r--
2026-02-28 00:28:26
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
warning.js
603 B
lrw-r--r--
2026-02-28 00:28:28
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).