UNPKG

350 BTypeScriptView Raw
1import { ValidationOptions } from '../ValidationOptions';
2export declare const IS_BOOLEAN = "isBoolean";
3/**
4 * Checks if a given value is a boolean.
5 */
6export declare function isBoolean(value: unknown): boolean;
7/**
8 * Checks if a value is a boolean.
9 */
10export declare function IsBoolean(validationOptions?: ValidationOptions): PropertyDecorator;