Function isObjectLiteral

  • isObjectLiteral<T>(value: any): value is NonNullable<T>
  • Determine whether the given value is a non-null object not including the array type.

    Returns

    Type Parameters

    • T extends Record<PropertyKey, any>

    Parameters

    • value: any

    Returns value is NonNullable<T>

Generated using TypeDoc