@stacksjs/ts-validation
Version:
A simple TypeScript starter kit using Bun.
9 lines • 330 B
TypeScript
import type { CurrencyOptions } from '../types';
/**
* Check if the string is Currency
*
* @param str - The string to check
* @param options - Options object
* @returns True if the string matches the validation, false otherwise
*/
export declare function isCurrency(str: string, options?: Partial<CurrencyOptions>): boolean;