@perfective/fp
Advanced tools
Comparing version 0.4.0-alpha to 0.4.0
export declare type Unary<X, V> = (x: X) => V; | ||
export declare function value<T>(): Unary<T, T>; | ||
export declare function same<T>(): Unary<T, T>; | ||
//# sourceMappingURL=unary.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.value = void 0; | ||
function value() { | ||
exports.same = void 0; | ||
function same() { | ||
return (value) => value; | ||
} | ||
exports.value = value; | ||
exports.same = same; | ||
//# sourceMappingURL=unary.js.map |
@@ -7,5 +7,5 @@ export { isFunction, isNotFunction, } from './function/function'; | ||
export { TypeGuard, } from './function/type-guard'; | ||
export { Unary, value, } from './function/unary'; | ||
export { Unary, same, } from './function/unary'; | ||
export { Binary, } from './function/binary'; | ||
export { Ternary, } from './function/ternary'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -29,3 +29,3 @@ "use strict"; | ||
var unary_1 = require("./function/unary"); | ||
Object.defineProperty(exports, "value", { enumerable: true, get: function () { return unary_1.value; } }); | ||
Object.defineProperty(exports, "same", { enumerable: true, get: function () { return unary_1.same; } }); | ||
//# sourceMappingURL=index.js.map |
export declare type Unary<X, V> = (x: X) => V; | ||
export declare function value<T>(): Unary<T, T>; | ||
export declare function same<T>(): Unary<T, T>; | ||
//# sourceMappingURL=unary.d.ts.map |
@@ -1,4 +0,4 @@ | ||
export function value() { | ||
export function same() { | ||
return (value) => value; | ||
} | ||
//# sourceMappingURL=unary.js.map |
@@ -7,5 +7,5 @@ export { isFunction, isNotFunction, } from './function/function'; | ||
export { TypeGuard, } from './function/type-guard'; | ||
export { Unary, value, } from './function/unary'; | ||
export { Unary, same, } from './function/unary'; | ||
export { Binary, } from './function/binary'; | ||
export { Ternary, } from './function/ternary'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -6,3 +6,3 @@ export { isFunction, isNotFunction, } from './function/function'; | ||
export { isInstanceOf, isNotInstanceOf, } from './function/type'; | ||
export { value, } from './function/unary'; | ||
export { same, } from './function/unary'; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@perfective/fp", | ||
"version": "0.4.0-alpha", | ||
"version": "0.4.0", | ||
"description": "Functions and types for functional programming", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
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
44968
0