(t: &mlua::Table, key: &str)
| 25 | /// A wrong-typed value (e.g. `center = {0, 0}`) must not silently read as |
| 26 | /// `false` — that quietly produces the wrong shape. |
| 27 | fn table_get_bool( |
| 28 | t: &mlua::Table, |
| 29 | func: &str, |
| 30 | key: &str, |
| 31 | ) -> mlua::Result<bool> { |
| 32 | match t.get::<mlua::Value>(key)? { |
no test coverage detected