@perfective/fp
Advanced tools
Comparing version 0.1.3 to 0.2.0
export declare type Unary<X, T> = (x: X) => T; | ||
export declare type Predicate<T> = (value: T) => boolean; | ||
export declare type TypeGuard<T, V extends T> = (value: T) => value is V; | ||
export declare function value<T>(): Unary<T, T>; | ||
//# sourceMappingURL=unary.d.ts.map |
export { isFunction, isNotFunction, } from './function/function'; | ||
export { Fallback, Nullary, constant, empty, fallbackTo, } from './function/nullary'; | ||
export { Predicate, TypeGuard, Unary, value, } from './function/unary'; | ||
export { Predicate, all, atLeast, atMost, either, exactly, is, isNot, neither, not, } from './function/predicate'; | ||
export { Proposition, always, isFalse, isTrue, never, } from './function/proposition'; | ||
export { TypeGuard, Unary, value, } from './function/unary'; | ||
export { Binary, } from './function/binary'; | ||
export { Ternary, } from './function/ternary'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -10,4 +10,19 @@ "use strict"; | ||
Object.defineProperty(exports, "fallbackTo", { enumerable: true, get: function () { return nullary_1.fallbackTo; } }); | ||
var predicate_1 = require("./function/predicate"); | ||
Object.defineProperty(exports, "all", { enumerable: true, get: function () { return predicate_1.all; } }); | ||
Object.defineProperty(exports, "atLeast", { enumerable: true, get: function () { return predicate_1.atLeast; } }); | ||
Object.defineProperty(exports, "atMost", { enumerable: true, get: function () { return predicate_1.atMost; } }); | ||
Object.defineProperty(exports, "either", { enumerable: true, get: function () { return predicate_1.either; } }); | ||
Object.defineProperty(exports, "exactly", { enumerable: true, get: function () { return predicate_1.exactly; } }); | ||
Object.defineProperty(exports, "is", { enumerable: true, get: function () { return predicate_1.is; } }); | ||
Object.defineProperty(exports, "isNot", { enumerable: true, get: function () { return predicate_1.isNot; } }); | ||
Object.defineProperty(exports, "neither", { enumerable: true, get: function () { return predicate_1.neither; } }); | ||
Object.defineProperty(exports, "not", { enumerable: true, get: function () { return predicate_1.not; } }); | ||
var proposition_1 = require("./function/proposition"); | ||
Object.defineProperty(exports, "always", { enumerable: true, get: function () { return proposition_1.always; } }); | ||
Object.defineProperty(exports, "isFalse", { enumerable: true, get: function () { return proposition_1.isFalse; } }); | ||
Object.defineProperty(exports, "isTrue", { enumerable: true, get: function () { return proposition_1.isTrue; } }); | ||
Object.defineProperty(exports, "never", { enumerable: true, get: function () { return proposition_1.never; } }); | ||
var unary_1 = require("./function/unary"); | ||
Object.defineProperty(exports, "value", { enumerable: true, get: function () { return unary_1.value; } }); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@perfective/fp", | ||
"version": "0.1.3", | ||
"version": "0.2.0", | ||
"description": "Functions and types for functional programming", | ||
@@ -5,0 +5,0 @@ "author": "Andrey Mikheychik <a.mikheychik@gmail.com>", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
39638
57
416
1