@ctx-core/function
Advanced tools
Comparing version 8.0.0 to 8.0.1
37
lib.js
@@ -212,3 +212,3 @@ /** | ||
* @param obj | ||
* @param {[arg__andand]} a1__name | ||
* @param {...string} a1__name | ||
* @returns {*} | ||
@@ -225,3 +225,3 @@ */ | ||
* Returns a function that calls `andand(obj, ...a1__name)` | ||
* @param {[arg__andand]} a1__name | ||
* @param {...string} a1__name | ||
* @returns {function(*=): *} | ||
@@ -236,3 +236,3 @@ */ | ||
* @param obj | ||
* @param {[arg__andand_]} a1__name | ||
* @param {...arg__andand} a1__name | ||
* @returns {*} | ||
@@ -252,3 +252,3 @@ */ | ||
* Returns a function that calls `andand_(obj, ...a1__name)` | ||
* @param a1__name | ||
* @param {...arg__andand} a1__name | ||
* @returns {function(*=): *} | ||
@@ -261,6 +261,11 @@ */ | ||
/** | ||
* @typedef {function} fn__or | ||
* @param {*} obj | ||
* @returns {*} | ||
*/ | ||
/** | ||
* Returns `andand(obj, a1__name) || fn__or(obj)` | ||
* @param obj | ||
* @param {[arg__andand]} a1__name | ||
* @param {function} fn__or | ||
* @param {...arg__andand} a1__name | ||
* @param {fn__or} fn__or | ||
* @returns {*} | ||
@@ -273,4 +278,4 @@ */ | ||
* Returns function that calls `andand__or(obj, a1__name, fn__or)` | ||
* @param {[arg__andand]} a1__name | ||
* @param {function} fn__or | ||
* @param {...arg__andand} a1__name | ||
* @param {fn__or} fn__or | ||
* @returns {function(*=): *} | ||
@@ -393,3 +398,3 @@ */ | ||
* Returns function that applies `===` operator to `compare` & `value`. | ||
* @param compare | ||
* @param {*} compare | ||
* @returns {function(*): boolean} | ||
@@ -517,3 +522,3 @@ */ | ||
* @param obj | ||
* @param {function} fn__or | ||
* @param {fn__or} fn__or | ||
* @param val__eq | ||
@@ -531,3 +536,3 @@ * @returns {*} | ||
* Returns function that returns `fn__or()` if `obj == val__eq` or returns `obj` | ||
* @param {function} fn__or | ||
* @param {fn__or} fn__or | ||
* @param val__eq | ||
@@ -543,3 +548,3 @@ * @returns {function(*=): *} | ||
* @param obj | ||
* @param fn__or | ||
* @param {fn__or} fn__or | ||
* @param val__eql | ||
@@ -557,3 +562,3 @@ * @returns {*} | ||
* Returns function that returns `fn__or()` if `obj === val__eq` or returns `obj` | ||
* @param {function} fn__or | ||
* @param {fn__or} fn__or | ||
* @param val__eql | ||
@@ -569,4 +574,4 @@ * @returns {function(*=): *} | ||
* @param conditional | ||
* @param {function} fn__if | ||
* @param {function} fn__else | ||
* @param {function(*): *} fn__if | ||
* @param {function(*): *} fn__else | ||
* @returns {*} | ||
@@ -580,2 +585,2 @@ */ | ||
) | ||
} | ||
} |
{ | ||
"name": "@ctx-core/function", | ||
"version": "8.0.0", | ||
"version": "8.0.1", | ||
"description": "ctx-core function", | ||
@@ -23,3 +23,3 @@ "main": "lib.js", | ||
"homepage": "https://github.com/ctx-core/ctx-core#readme", | ||
"gitHead": "f7727f13a4589bf974d44b3606a0eea59ad9b828" | ||
"gitHead": "faf3deba5ee72fec8a41a4ad5631fd70083c66ac" | ||
} |
15810
573