source:
node_modules/es-toolkit/dist/compat/predicate/isBoolean.mjs
| Last change on this file was a762898, checked in by , 5 months ago | |
|---|---|
|
|
| File size: 120 bytes | |
| Line | |
|---|---|
| 1 | function isBoolean(value) { |
| 2 | return typeof value === 'boolean' || value instanceof Boolean; |
| 3 | } |
| 4 | |
| 5 | export { isBoolean }; |
Note:
See TracBrowser
for help on using the repository browser.
