getVariable

This tag gets a Hackvertor variable

Created by: hackvertor
Installed 1 times

Category: Variables

Created on: Monday, October 7, 2024 at 8:51:16 PM

Updated on: Friday, December 20, 2024 at 8:08:05 PM

This is a built in tag
Tag arguments
[
   {
      "type": "string",
      "help": "This is the name of the variable",
      "defaultValue": "foo"
   }
]
Code
class getVariable {
  encode(input, name) {
     return hv.variables[name];
  }
}