Index

(misc)

o2par_zero

boolean o2par_zero(integer $parameter_id)

Returns boolean value TRUE/FALSE if parameter value is equal/different from its type default value.
This function is the right way to check if a parameter has a value.

Parameters don't change their value during program execution so values returned by o2par_zero() are consistent along program running.


Parameters:
  1. $parameter_id
  2. Ordinal parameter index
Related functions:

o2par

o2val

o2zero