From 8aff8223624cdca56255886c7752f0545a255e63 Mon Sep 17 00:00:00 2001 From: yuki Date: Mon, 10 Nov 2025 03:50:49 -0300 Subject: [PATCH] add Object:is() to luals definition --- def/Object.d.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/def/Object.d.lua b/def/Object.d.lua index 17ee45a..112e51a 100644 --- a/def/Object.d.lua +++ b/def/Object.d.lua @@ -21,4 +21,9 @@ function Object:extend() end ---@param mixin table function Object:implement(mixin) end +---Checks if object is of a specific type +---@param object Object +---@return boolean +function Object:is(object) end + return Object