Home
last modified time | relevance | path

Searched refs:iscallable (Results 1 – 3 of 3) sorted by relevance

/src/contrib/lyaml/lib/lyaml/
H A Dfunctional.lua45 local function iscallable(x) function
62 if iscallable(fn) then
85 iscallable = iscallable,
/src/contrib/lyaml/spec/
H A Dspec_helper.lua98 function iscallable(x) function
228 return iscallable(actual)
/src/contrib/lyaml/build-aux/
H A Dluke375 …ocal function apply(fn,argu)assert(fn~=nil,'cannot apply nil-valued function')if iscallable(fn)then
379 local function call(fn,...)assert(fn~=nil,'cannot call nil-valued function')if iscallable(fn)then
442 local default=branches[DEFAULT]if iscallable(default)then
550 end)(tointeger)local function iscallable(x)return type(x)=='function'and x or(getmetatable(x)or{}).…
552 local function getmetamethod(x,n)return iscallable((getmetatable(x)or{})[tostring(n)])end
600 …ethod=getmetamethod,gmatch=string.gmatch,gsub=string.gsub,int=int,iscallable=iscallable,len=len,li…
631 …std.functional',}local contextmanager_mt={__index=function(self,key)if iscallable(self.context[key…