Skip to content

Commit 01b226d

Browse files
committed
add h$isBoolean to jsbits. Req'd by GHCJS.Foreign
1 parent 3cf3b90 commit 01b226d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

jsbits/utils.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ function h$isSymbol(o) {
3535
return typeof(o) === 'symbol';
3636
}
3737

38+
function h$isBoolean(o) {
39+
return typeof(o) === 'boolean';
40+
}
41+
3842
function h$isFunction(o) {
3943
return typeof(o) === 'function';
4044
}

0 commit comments

Comments
 (0)