Assertion: predicate | /r/CapableOf | return true
Facets:
Source sentences:
text: Generally a predicate is a 'condition template' that returns TRUE if it satisfies the condition or FALSE if doesn't satisfies the condtion.
text: A “predicate” (in mathematics and functional programming) is a function that returns a boolean (true or false).
text: A “predicate” (in mathematics and functional programming) is a function that returns a boolean (true or false).
text: Here's an example of a predicate that returns true if the length of a string is greater than 5.
text: This predicate actually takes one parameter that is an array, and will return true if all items in the array are equal.