中文
Appearance
检查入参是否为 undefined 或 null。
undefined
null
Added in v0.0.4
import { isNullish } from 'parsnip-kit' isNullish(undefined) // true isNullish(null) // true isNullish(NaN) // false isNullish(0) // false
arg
any
false
boolean