UNPKG

@stacksjs/ts-validation

Version:

A simple TypeScript starter kit using Bun.

9 lines 316 B
import type { IsBase64Options } from '../types'; /** * Check if the string is Base64 * * @param str - The string to check * @param options - Options object * @returns True if the string matches the validation, false otherwise */ export declare function isBase64(str: string, options: IsBase64Options): boolean;