diff options
Diffstat (limited to 'luajit.go')
| -rw-r--r-- | luajit.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -217,6 +217,9 @@ func (l *Lua) PushAny(v any) error { case float64: v, _ := v.(float64) l.PushFloatNumber(v) + case bool: + v, _ := v.(bool) + l.PushBoolean(v) case map[string]any: v, _ := v.(map[string]any) err := l.PushObject(v) |
