Skip to content

Commit ec725e8

Browse files
committed
fix $boolean for functions
1 parent 8ccf176 commit ec725e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/functions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1420,7 +1420,7 @@ const functions = (() => {
14201420
if (arg !== 0) {
14211421
result = true;
14221422
}
1423-
} else if (arg !== null && typeof arg === 'object') {
1423+
} else if (arg !== null && typeof arg === 'object' && !isFunction(arg)) {
14241424
if (Object.keys(arg).length > 0) {
14251425
result = true;
14261426
}

0 commit comments

Comments
 (0)