@longmo-utils/common / isNull
Function: isNull()
ts
function isNull(arg): boolean;是否是null
Parameters
| Parameter | Type | Description |
|---|---|---|
arg | any | 参数 |
Returns
boolean
true|false
Example
ts
isNull(null) // true
isNull(1) // false