Comparing version 2.2.10 to 2.2.11
14
IsA.js
@@ -128,3 +128,17 @@ var boolTag = '[object Boolean]', | ||
return res | ||
}, | ||
functionsOf (obj) { | ||
let res = [] | ||
for (let m of Object.getOwnPropertyNames( obj ) ) | ||
if ( obj[m] && this.isFunction( obj[m] ) ) | ||
res.push( obj[m] ) | ||
return res | ||
}, | ||
functionsNames (obj) { | ||
let res = [] | ||
for (let m of Object.getOwnPropertyNames( obj ) ) | ||
if ( obj[m] && this.isFunction( obj[m] ) ) | ||
res.push( m ) | ||
return res | ||
} | ||
} |
{ | ||
"name": "isa.js", | ||
"version": "2.2.10", | ||
"version": "2.2.11", | ||
"description": "Very minimal collection is isA functions. isObject, isArray, isDate...", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/imrefazekas/isa", |
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
13285
329