fp-filters - v0.5.3
    Preparing search index...

    Function everyElement

    • Used on arrays of arrays (2D arrays). Returns true if all elements in the nested array pass the test implemented by the provided function. Example usage:

      [[1,2,3], [2,4], [4,8]].filter(everyElement(isEven));

      Type Parameters

      • T

      Parameters

      • condition: (item: T) => boolean

      Returns (array: T[]) => boolean