Skip to content

Commit c694b0f

Browse files
committed
Merge pull request #32 from tavisrudd/master
add h$isBoolean to jsbits. Req'd by GHCJS.Foreign
2 parents 755934b + 6e60f18 commit c694b0f

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)