$IsVariableDefined
  • 14 May 2021
  • 1 Minute to read
  • Dark
    Light
  • PDF

$IsVariableDefined

  • Dark
    Light
  • PDF

Article Summary

This is generated from the built in components of BuildMaster 7.0.0, and may be different than what you have installed (especially if you have extensions); go to [User Icon] -> Documentation within your BuildMaster instance to see exactly what operations are available.

$IsVariableDefined

Returns true if the specified variable name is available in the current context; otherwise returns false.

Script usage:

$IsVariableDefined(VariableName, [VariableType])

Parameters:

NameDescription
VariableNameThe name of the variable.
VariableTypeMust be one of: any, scalar, vector, or map; when none is specified, "any" is used.

Was this article helpful?

What's Next