UNPKG

ravendb

Version:
29 lines 934 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IndexTypeExtensions = void 0; class IndexTypeExtensions { static isMap(type) { return type === "Map" || type === "AutoMap" || type === "JavaScriptMap"; } static isMapReduce(type) { return type === "MapReduce" || type === "AutoMapReduce" || type === "JavaScriptMapReduce"; } static isAuto(type) { return type === "AutoMap" || type === "AutoMapReduce"; } static isStatic(type) { return type === "Map" || type === "MapReduce" || type === "JavaScriptMap" || type === "JavaScriptMapReduce"; } static isJavaScript(type) { return type === "JavaScriptMap" || type === "JavaScriptMapReduce"; } } exports.IndexTypeExtensions = IndexTypeExtensions; //# sourceMappingURL=IndexTypeExtensions.js.map