Options
All
  • Public
  • Public/Protected
  • All
Menu

Module tools/matchType

Index

Functions

Const checkArrayOrTupleType

  • checkArrayOrTupleType(variable: any[], types: Function[]): boolean

Const matchType

  • matchType<T>(variable: T, type: Function | Function[]): boolean
  • Type parameters

    • T: unknown

    Parameters

    • variable: T
    • type: Function | Function[]

    Returns boolean

Generated using TypeDoc