Test if a value is null.
import { isNull } from '@studiometa/js-toolkit/utils'; isNull(null); // true isNull(); // false isNull(''); // falsevalue (any): the value to testReturns true if the given value is null, false otherwise.