rbf_isZero()
Warning: Support for using this method with external objects (such as those mapped to external tables, to OpenEdge Service objects, or through a HDP connection) is a beta feature. This method is supported in production systems, except for external objects.
Purpose
This function can be useful in validation scripts, it returns true if the argument is any of the following:
- null
- the number zero
- a value that cannot be converted into a number
Syntax
rbf_isZero(arg)
arg
The argument to be tested.
Note: This API is supported in portals as well.
Example
rbf_isZero() -> true
rbf_isZero(-1.23) -> false
rbf_isZero(0) -> true
rbf_isZero('') -> true
rbf_isZero(false) -> true
rbf_isZero("A") -> true
rbf_isZero("0") -> true