@stacksjs/ts-validation
Version:
A simple TypeScript starter kit using Bun.
10 lines • 349 B
TypeScript
import type { FloatOptions } from '../types';
/**
* Check if the string is Float
*
* @param str - The string to check
* @param options - Options object
* @returns True if the string matches the validation, false otherwise
*/
export declare function isFloat(str: string, options?: FloatOptions): boolean;
export declare const locales: string[];