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`。
21
99
2
+ 3 other calls in file
GitHub: linvinglor/node
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 -->
0
6
1
util.promisify is the most popular function in util (378 examples)