ILua.TryReadGlobalBool method
Reads global key as a Lua boolean via the tolua# stack API. Returns false (with value = false) when the global is absent, nil, or not a boolean.
public bool TryReadGlobalBool(string key, out bool value)| parameter | description |
|---|---|
| key | Global name (as written with rawset(_G, key, value)). |
| value | The decoded boolean, or false on failure. |
See Also
Section titled “See Also”- interface ILua
- namespace Stellar.Abstractions.Services