UNPKG

467 BTypeScriptView Raw
1import { ValidationOptions } from '../ValidationOptions';
2export declare const IS_BASE32 = "isBase32";
3/**
4 * Checks if a string is base32 encoded.
5 * If given value is not a string, then it returns false.
6 */
7export declare function isBase32(value: unknown): boolean;
8/**
9 * Check if a string is base32 encoded.
10 * If given value is not a string, then it returns false.
11 */
12export declare function IsBase32(validationOptions?: ValidationOptions): PropertyDecorator;