@ctx-core/function
Advanced tools
+3
-2
@@ -0,1 +1,2 @@ | ||
| export declare type falsy = false | 0 | '' | null | undefined; | ||
| export declare function _val(val: any): () => any; | ||
@@ -14,3 +15,3 @@ /** | ||
| */ | ||
| export declare function _a1__wrap(value: any): any[]; | ||
| export declare function _a1__wrap(value: any | any[]): any[]; | ||
| /** | ||
@@ -229,3 +230,3 @@ * [wrap](#wrap) `a1` & [concat](#concat) `a1__rest` | ||
| */ | ||
| export declare function _eq(__a1__value: any): (value: any) => boolean; | ||
| export declare function _eq(__a1__value: any[]): (value: any | any[]) => boolean; | ||
| export declare const _fn__eq: typeof _eq; | ||
@@ -232,0 +233,0 @@ /** |
+2
-2
| { | ||
| "name": "@ctx-core/function", | ||
| "version": "10.0.13", | ||
| "version": "10.1.0", | ||
| "description": "ctx-core function", | ||
@@ -37,3 +37,3 @@ "main": "lib/index.js", | ||
| }, | ||
| "gitHead": "2a0fb0b1ea033c4cea56701aef36d21ee3d44d67" | ||
| "gitHead": "34f704068b4b3624bc0145a6a11c67c2d83856bb" | ||
| } |
+7
-6
@@ -0,1 +1,2 @@ | ||
| export type falsy = false | 0 | '' | null | undefined | ||
| /** | ||
@@ -9,3 +10,3 @@ * @typedef {boolean} false | ||
| export function _val(val) { | ||
| return () => val | ||
| return () => val | ||
| } | ||
@@ -26,6 +27,6 @@ /** | ||
| */ | ||
| export function _a1__wrap(value) { | ||
| export function _a1__wrap(value:any | any[]):any[] { | ||
| return ( | ||
| isArray(value) | ||
| ? value | ||
| ? value as any[] | ||
| : [value] | ||
@@ -50,3 +51,3 @@ ) | ||
| export function call(fn, ...a1__arg) { | ||
| return fn(...a1__arg) | ||
| return fn(...a1__arg) | ||
| } | ||
@@ -119,3 +120,3 @@ /** | ||
| export function arg__0__(fn) { | ||
| return slice__a1__arg(fn, 0, 1) | ||
| return slice__a1__arg(fn, 0, 1) | ||
| } | ||
@@ -360,3 +361,3 @@ /** | ||
| */ | ||
| export function _eq(__a1__value) { | ||
| export function _eq(__a1__value:any[]):(value:any|any[]) => boolean { | ||
| return value => eq(concat__wrap(__a1__value, value)) | ||
@@ -363,0 +364,0 @@ } |
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
58260
0.33%2045
0.1%