@jsonjoy.com/json-type
Version:
High-performance JSON Pointer implementation
19 lines • 520 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.canSkipObjectKeyUndefinedCheck = void 0;
const canSkipObjectKeyUndefinedCheck = (type) => {
switch (type) {
case 'con':
case 'bool':
case 'num':
case 'str':
case 'obj':
case 'arr':
case 'bin':
return true;
default:
return false;
}
};
exports.canSkipObjectKeyUndefinedCheck = canSkipObjectKeyUndefinedCheck;
//# sourceMappingURL=util.js.map