@bearz/strings
Version:
A collection of string utilities to avoid extra allocations and enable case insensitivity comparisons.
12 lines (11 loc) • 334 B
TypeScript
/**
* The is-undefined module provides functions to check if a string is undefined.
*
* @module
*/
/**
* Determines whether the string is undefined.
* @param s The string to check.
* @returns `true` if the string is undefined; otherwise, `false`.
*/
export declare function isUndefined(s: string | undefined): s is undefined;