How to use the isBoolean function from util

Find comprehensive JavaScript util.isBoolean code examples handpicked from public code repositorys.

30
31
32
33
34
35
36
37
38
39

--------------------------------------------------


<div id="isBoolean" class="anchor"></div>
## util.isBoolean(object)

> 稳定度:0 - 已废弃

如果给定的 'object' 是 `Boolean`,返回 `true`。否则,返回 `false`。
fork icon21
star icon99
watch icon2

+ 3 other calls in file

269
270
271
272
273
274
275
276
277
278
// Returns: true
util.isArray({});
// Returns: false
```

### util.isBoolean(object)
<!-- YAML
added: v0.11.5
deprecated: v4.0.0
-->
fork icon0
star icon6
watch icon1