every
Updated on August 22, 2024Source codeTests
createEvery is a pipe that transforms an object to a boolean indicating whether or not every key/value pair meets some condition.
Create every
Call createEvery with these parameters to create your every function:
Parameter
Type
Required
Description
predicateFunction
yes
A function that receives two parameters—
key and value—and should return a boolean indicating whether or not the key/value pair meets some condition.