tguard-js
    Preparing search index...

    Function isObjectArray

    • Determines whether the provided value is an array of objects.

      For checking whether an array contains only plain objects, use isPlainObjectArray.

      Parameters

      • x: unknown

        The value to be checked.

      Returns x is object[]

      true if the value is an array of objects, otherwise false.

      This function is an alias for:

      isArrayOf<object>(x, isObject);
      

      ...but rejects empty arrays.

      Use isArrayOf if empty arrays should be considered valid.

      1.0