Options
All
  • Public
  • Public/Protected
  • All
Menu

Module isInstance

Index

Functions Lang

Lang Functions

  • isInstance<T>(inst: any, aClass: Class<T>): inst is T
  • is instance of a class

    since

    5.16.0

    Type parameters

    • T

    Parameters

    • inst: any
    • aClass: Class<T>

    Returns inst is T