From a8208b846f86e26e7a903fa57b0899942028c400 Mon Sep 17 00:00:00 2001 From: Kevin Schweikert <54439512+kevinschweikert@users.noreply.github.com> Date: Tue, 2 Sep 2025 18:33:43 +0200 Subject: [PATCH] Fix guard example in Lua.API docs --- lib/lua/api.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lua/api.ex b/lib/lua/api.ex index d05ea74..107ba32 100644 --- a/lib/lua/api.ex +++ b/lib/lua/api.ex @@ -82,7 +82,7 @@ defmodule Lua.API do values. E.g. deflua say_type(value) when is_table(value), do: "table" - deflua say_type(value) when is_userdata(value), do: "table" + deflua say_type(value) when is_userdata(value), do: "userdata" Keep in mind that if you want to work with values passed to `deflua` functions, they still need to be decoded first.