Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 573 Bytes

makeParser.md

File metadata and controls

28 lines (20 loc) · 573 Bytes
title makeParser
titleTemplate title - API / NativeScript
contributors false
function makeParser<T>(isValid: (value: any) => boolean, allowNumbers?: boolean): (value: any) => T;

Defined in: core-types/validators.ts

Type Parameters

Type Parameter
T

Parameters

Parameter Type
isValid (value: any) => boolean
allowNumbers? boolean

Returns

(value: any) => T