UNPKG

@stacksjs/ts-validation

Version:

A simple TypeScript starter kit using Bun.

8 lines 293 B
import type { IsEmptyOptions } from '../types'; /** * Check if the string is empty. * @param str The string to check * @param options Options object * @returns True if the string is empty, false otherwise */ export declare function isEmpty(str: string, options?: IsEmptyOptions): boolean;