Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 501 Bytes

makeValidator.md

File metadata and controls

27 lines (19 loc) · 501 Bytes
title makeValidator
titleTemplate title - API / NativeScript
contributors false
function makeValidator<T>(...values: T[]): (value: any) => value is T;

Defined in: core-types/validators.ts

Type Parameters

Type Parameter
T

Parameters

Parameter Type
...values T[]

Returns

(value: any) => value is T