Predicate function A predicate function is a function that takes one item as input and returns true/false based on whether the item satisfies a condition. function isTaskOfType(task, type){ return task.type === type; }