nowjs-core
Version:
NowCanDo Javascript Core [nowjs-core] is a library written by TypeScript code maintains under Apache 2.0 licence
8 lines (7 loc) • 477 B
TypeScript
import { StringFormatType } from '../../utils/index';
import { ValueTypeValidatorBase } from './index';
export declare const VALIDATOR_FUNCTION_METADATA_KEY: unique symbol;
export declare function isFunction(errorMessage?: StringFormatType): (target: Record<string, any>, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<any>) => void;
export declare class FunctionValidator extends ValueTypeValidatorBase {
constructor(errorMessage?: StringFormatType);
}