Data Challenge Lab Home

Predicate functions [program]

(Builds on: Function basics)

Predicate functions, which return a single TRUE or FALSE on all inputs, are another useful tool in functional programming. Some functions, like many scoped verbs, take predicate functions as arguments.

Readings