tguard-js
    Preparing search index...

    Function isPlainObjectArray

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

      Parameters

      • x: unknown

        The value to be checked.

      Returns x is Record<PropertyKey, unknown>[]

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

      This function is an alias for:

      isArrayOf<Record<PropertyKey, unknown>>(x, isPlainObject);
      

      ...but rejects empty arrays.

      Use isArrayOf if empty arrays should be considered valid.

      1.0