UNPKG

@flex-development/tutils

Version:
14 lines (13 loc) 412 B
/** * @file Type Guards - isEmptyValue * @module tutils/guards/isEmptyValue */ import type { EmptyValue } from '../types/index.mjs'; /** * Checks if `value` is an empty string or `NIL`. * * @param {any} [value] - Value to check * @return {boolean} `true` if `value` is empty string, `null`, or `undefined` */ declare const isEmptyValue: (value?: any) => value is EmptyValue; export default isEmptyValue;