░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/usr/lib/node_modules/npm/node_modules/@tufjs/models/dist/utils
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: guard.js
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isObjectRecord = exports.isStringRecord = exports.isObjectArray = exports.isStringArray = exports.isObject = exports.isDefined = void 0; function isDefined(val) { return val !== undefined; } exports.isDefined = isDefined; function isObject(value) { return typeof value === 'object' && value !== null; } exports.isObject = isObject; function isStringArray(value) { return Array.isArray(value) && value.every((v) => typeof v === 'string'); } exports.isStringArray = isStringArray; function isObjectArray(value) { return Array.isArray(value) && value.every(isObject); } exports.isObjectArray = isObjectArray; function isStringRecord(value) { return (typeof value === 'object' && value !== null && Object.keys(value).every((k) => typeof k === 'string') && Object.values(value).every((v) => typeof v === 'string')); } exports.isStringRecord = isStringRecord; function isObjectRecord(value) { return (typeof value === 'object' && value !== null && Object.keys(value).every((k) => typeof k === 'string') && Object.values(value).every((v) => typeof v === 'object' && v !== null)); } exports.isObjectRecord = isObjectRecord;
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 guard.js
JS
1.2 KB
2023-09-24 03:45
EDIT
📄 index.js
JS
1.2 KB
2023-09-24 03:45
EDIT
📄 key.js
JS
4.8 KB
2023-09-24 03:45
EDIT
📄 oid.js
JS
891 B
2023-09-24 03:45
EDIT
📄 types.js
JS
77 B
2023-09-24 03:45
EDIT
📄 verify.js
JS
667 B
2023-09-24 03:45
EDIT