UNPKG

@stacksjs/ts-validation

Version:

A simple TypeScript starter kit using Bun.

8 lines 283 B
/** * Check if the string is In * * @param str - The string to check * @param options - Options object * @returns True if the string matches the validation, false otherwise */ export declare function isIn(str: string, options: string[] | Record<string, any> | string): boolean;