@haraldki/jsonaccess
    Preparing search index...

    Function getInvalid

    • Pick all error elements from the input. This is a cousin to allValid. See there for usage notes.

      Type Parameters

      • T extends object | readonly unknown[]

      Parameters

      • values: { [K in string | number | symbol]: Maybe<T[K]> }
      • trace: boolean = false

      Returns JsonAccessError[]

      a possibly empty array of the invalid elements found in the given values