Function isSomeObject

  • Checks if the input is non-null and some kind of object (including arrays). To exclude arrays, use isRunTimeType(input, 'object') instead.

    Parameters

    • input: any

    Returns input is object