$varExistError

Returns a custom error if a certain variable doesn't exist in the app.

Syntax

$varExistError[Name;Error message]

Parameters

  • Name (Type: String || Flag: Required): The variable that should exist.
  • Error message (Type: String || Flag: Emptiable): The custom error message to return if the variable doesn't exist.

Example

$nomention
$varExistError[Cool;Add the 'Cool' variable in the app.]
$setUserVar[Cool;true]
You are now cool!

example