Function Get
Outputs cached values previously set using "Set" or "SetGlobal" functions
Get([KEY],[DEFAULT_IF_INVALID])
Parameters
# | Type | Passing | Default | Name | Description/Comments |
---|---|---|---|---|---|
1 | string | required | n/a | KEY | The key to find |
2 | any | optional | n/a | DEFAULT_IF_INVALID | The default to use if the value is not found or invalid |
Returns
The value found in the cache
Examples
Example of cache population and searching
{{Set("MyValue",100)}}
Cached value is {{Get("MyValue")}}