Share via


Variable.ValueOrDefault

Syntax

Variable.ValueOrDefault(identifier as text, optional defaultValue as any) as any

About

Returns the value of the specified variable identifier defined by the current evaluation environment. If the variable is not defined, the optional defaultValue is returned.