Skip to content

isNull ​

Check if the input parameter is a null.

Added in v0.0.1

Usage ​

ts
import { isNull } from 'parsnip-kit'

isNull(null) // true
isNull({}) // false
isNull(undefined) // false

API ​

Arguments ​

ArgTypeOptionalDefaultDescription
arganyfalseundefinedParameters for check

Returns ​

Type
boolean