@commodo/fields-storage-nedb
Version:
We're working hard to get all the docs in order. New articles will be added daily.
17 lines (13 loc) • 319 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _default = value => {
if (typeof value === "string") {
return value.match(new RegExp("^[0-9a-fA-F]{24}$")) !== null;
}
return false;
};
exports.default = _default;
//# sourceMappingURL=isId.js.map