Function isBoolean

检查是否为布尔值或对象。

isBoolean(false)
// => true

isBoolean(null)
// => false