Skip to main content

existpubvar

warning

This function starts with a lowercase letter.

Description

Checks if a specific public variable exists in the current script.

NameDescription
const name[]The public variable's name.

Returns

Does the variable exist? (true/false)

  • getpubvar: Gets a specific public variable from the current script.
  • setpubvar: Sets a specific public variable in the current script.
  • numpubvars: Counts how many public variables there are in the script.