Skip to main content

Delete variable

Makes sure that @ng-apimock/core will delete the variable.

Usage

deleteVariable(key);

Parameters

NameTypeDetails
keystringthe key

Example

deleteVariable('now');

Executing this will delete the variable with key now.