Function IsValidCache
Checks whether the cache contains a specific key
IsValidCache([KEY])
Parameters
# | Type | Passing | Default | Name | Description/Comments |
---|---|---|---|---|---|
1 | string | required | n/a | KEY | The key to find |
Returns
Whether the cache contains a key
Examples
Example to check whether a value is found in the cache
{{IF(IsValidCache("MyKey"))}}
Conditional html code...
{{ENDIF}}
{{Set("MyKey",100)}}
{{IF(IsValidCache("MyKey"))}}
Conditional html code...
{{ENDIF}}