GitHub 6248★

Check if a value is nil

JavaScript version

const isNil = (value) => value == null;

TypeScript version

const isNil = (value: any): boolean => value == null;
Follow me on and to get more useful contents.