class-validator
Version:
Decorator-based property validation for classes.
13 lines (12 loc) • 474 B
TypeScript
import { ValidationOptions } from '../ValidationOptions';
export declare const IS_LOWERCASE = "isLowercase";
/**
* Checks if the string is lowercase.
* If given value is not a string, then it returns false.
*/
export declare function isLowercase(value: unknown): boolean;
/**
* Checks if the string is lowercase.
* If given value is not a string, then it returns false.
*/
export declare function IsLowercase(validationOptions?: ValidationOptions): PropertyDecorator;