added all files
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
import { BasePredicate } from './predicates/base-predicate';
|
||||
/**
|
||||
Validate the value against the provided predicate.
|
||||
|
||||
@hidden
|
||||
|
||||
@param value - Value to test.
|
||||
@param label - Label which should be used in error messages.
|
||||
@param predicate - Predicate to test to value against.
|
||||
@param idLabel - If true, the label is a variable or type. Default: true.
|
||||
*/
|
||||
export default function test<T>(value: T, label: string | Function, predicate: BasePredicate<T>, idLabel?: boolean): void;
|
||||
Reference in New Issue
Block a user