- Preparing search index...
- The search index is not available
@bemoje/source
- ensureThat<T>(value, validator, options?): T
-
Parameters
-
value: T
-
validator: ((value, ...args) => string | boolean) | ((value, ...args) => boolean)
-
options: {
Err?: TConstructor;
args?: any[];
} = {}
Returns T