toDiscreteFieldFunction

Composes a function that casts, point-wise, boolean values from this function's field result to integer values across its extent. Boolean values of true and false become 1 and 0, respectively. The function result has no data where this function's field result has no data.

The function result extent equals that of this function's field result.

Return

A function that casts boolean values from this function's field result to integer values.

Since

300.0.0