@stacksjs/ts-validation
Version:
A simple TypeScript starter kit using Bun.
9 lines • 373 B
TypeScript
import type { IsBooleanOptions } from '../types';
/**
* Check if a string represents a boolean value
*
* @param str - The string to check
* @param options - Options object that determines matching behavior
* @returns True if the string represents a boolean value, false otherwise
*/
export declare function isBoolean(str: string, options?: IsBooleanOptions): boolean;