2.14 Recognizers

Apart from relational operators, there are many other predicates in Julia, like iszero, which tests if a number is zero:

> iszero(1)

false

> iszero(0)

true

Note that the operator iszero is used to recognize a particular element (zero) in a data type (numbers). These types of predicates are known as recognizers.