Module:fun/isCallable: Difference between revisions
Created page with "local table_get_metamethod_module = "Module:table/getMetamethod" local require = require local type = type local function get_metamethod(...) get_metamethod = require(table_get_metamethod_module) return get_metamethod(...) end --[==[ Return {true} if the input is a function or functor (an object which can be called like a function, because it has a {__call} metamethod). Note: if the input is an object with a {__call} metamethod, but this function is not able to fin..." |
m 1 revision imported |
(No difference)
| |