variable-type
Version:
Runtime type checking for variable and similar objects.
20 lines • 526 B
JavaScript
;
/**
* Created by hustcc on 17/08/01.
*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var Type_1 = __importDefault(require("../Type"));
/**
* 非逻辑
* @param type
* @returns {Type}
*/
function default_1(type) {
return new Type_1.default(function (v) { return !type.check(v); });
}
exports.default = default_1;
;
//# sourceMappingURL=not.js.map