get builtin
get(key,default)
Reads a persistent key from the translation state, with a default for missing keys.
| Phase | all |
|---|
Example
@tt
log(str(get("counter", 0)))Logs: 0
get builtinget(key,default)
Reads a persistent key from the translation state, with a default for missing keys.
| Phase | all |
|---|
@tt
log(str(get("counter", 0)))Logs: 0