mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-11-23 14:29:55 +00:00
chore: update to version 14.0.11 and align website URLs
This commit is contained in:
1 parent
ef74383349
commit
19c8d69bd8
1499 files changed
+53633
-89
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import { isFunction } from './function.js';
|
||||
import { isObject } from './object.js';
|
||||
export function isOn(...fns) {
|
||||
return (value) => (isObject(value) || isFunction(value)) &&
|
||||
fns.every((f) => isFunction(value[f]));
|
||||
}
|
||||
export function isOnFunction(...fns) {
|
||||
return (value) => isFunction(value) &&
|
||||
fns.every((f) => isFunction(value[f]));
|
||||
}
|
||||
export function isOnObject(...fns) {
|
||||
return (value) => isObject(value) &&
|
||||
fns.every((f) => isFunction(value[f]));
|
||||
}
|
||||
Reference in new issue
Block a user