A set of standard type validators.

Hierarchy

  • TypeValidators

Constructors

Properties

Boolean: Type<boolean>
Function: Function
NullableBoolean: NullableBoolean
Number: Type<number>
Object: Type<object>
ObjectOrFactory: FactoryOrInstance
String: Type<string>
StringArray: TypeArray<string>

Methods

  • Type Parameters

    • T

    Parameters

    • typeName: string
    • example: T

    Returns TypeArray<T>

Generated using TypeDoc