Validate a basic type.

Type Parameters

  • T

Hierarchy

Implements

Constructors

Properties

Methods

Constructors

  • Type Parameters

    • T

    Parameters

    • typeName: string
    • example: T

    Returns Type<T>

Properties

typeName: any
typeOf: string

Methods

  • Returns string

  • Parameters

    • u: unknown

    Returns u is T

Generated using TypeDoc