@sapphire/utilities
Version:
Common JavaScript utilities for the Sapphire Community
10 lines (7 loc) • 307 B
text/typescript
import { Nullish } from './types.cjs';
/**
* Checks whether or not a value is `null`, `undefined` or `0`
* @param value The value to check
*/
declare function isNullOrUndefinedOrZero(value: unknown): value is Nullish | 0;
export { isNullOrUndefinedOrZero, isNullOrUndefinedOrZero as isNullishOrZero };