Options
All
  • Public
  • Public/Protected
  • All
Menu

Module isClass

Index

Functions Lang

Lang Functions

  • isClass(obj: any): obj is Class<any>
  • check if value is Class object

    the Function will return false

    since

    5.15.0

    Parameters

    • obj: any
      class A {}
      function a() {}
      isClass(A) // => true
      isClass(a) // => false

    Returns obj is Class<any>

  • isNativeClass(c: Class<any>): boolean
  • check a class is native class or not

    since

    5.18.0

    Parameters

    • c: Class<any>

      class type

    Returns boolean