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