UNPKG

ts-mdls

Version:

Lightweigth, dependency free, fully typed wrapper of the macOS `mdls` command

16 lines 388 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IsNotNullError = void 0; class IsNotNullError extends Error { } exports.IsNotNullError = IsNotNullError; function parseNull(s) { if (s === "(null)") { return null; } else { throw new IsNotNullError(); } } exports.default = parseNull; //# sourceMappingURL=parseNull.js.map