Toggle menu

helper.deleteVariable(name)

Deletes a named variable.

Executed

Client-side or server-side. The variable you want to delete must be available in the same scope.

Arguments

ArgumentTypeDescription
nameString, requiredThe name of the variable to delete

Example

In this example the variable called myVariable will be deleted.

function (helper) {
    helper.deleteVariable('myVariable');
}

Last modified on March 20, 2024

Share this page

Facebook icon Twitter icon email icon

Print

print icon