14 lines
275 B
Plaintext
14 lines
275 B
Plaintext
function notFound(options = {}) {
|
|
options.isNotFound = true;
|
|
if (options.throw) throw options;
|
|
return options;
|
|
}
|
|
function isNotFound(obj) {
|
|
return !!(obj == null ? void 0 : obj.isNotFound);
|
|
}
|
|
export {
|
|
isNotFound,
|
|
notFound
|
|
};
|
|
//# sourceMappingURL=not-found.js.map
|