@ctx-core/object
Advanced tools
Comparing version 5.2.1 to 5.3.0
@@ -188,2 +188,3 @@ import { _andand } from '@ctx-core/function' | ||
* @param {...string} a1__key | ||
* @returns {{}} | ||
*/ | ||
@@ -201,2 +202,10 @@ export function pick(obj, ...a1__key) { | ||
/** | ||
* Returns a function that calls [pick](#pick) with the given `...a1__key` | ||
* @param {...string}a1__key | ||
* @returns {function(*=, ...[*]): {}} | ||
*/ | ||
export function _pick(...a1__key) { | ||
return (obj, ...a1__key__) => pick(obj, ...a1__key, ...a1__key__) | ||
} | ||
/** | ||
* Returns object with picked values, | ||
@@ -203,0 +212,0 @@ * not including including inherited property values (i.e. if hasOwnProperty is false). |
{ | ||
"name": "@ctx-core/object", | ||
"version": "5.2.1", | ||
"version": "5.3.0", | ||
"description": "ctx-core object", | ||
@@ -30,3 +30,3 @@ "main": "lib.js", | ||
}, | ||
"gitHead": "44e777d07ee38a01fe47429ecd4744c4221ff193" | ||
"gitHead": "2637fd0e1d25ad0b9f4bf7db3f771b63e3a2b7ae" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13483
502