Go to repository

Function allToSatisfy

Answer if all the element of the actual value satisfy a given criteria.

Parameters

  • actual: unknown[]
  • criteria: ((elem: unknown) => boolean)
      • (elem): boolean
      • Parameters

        • elem: unknown

        Returns boolean

Returns boolean