User:Jeblad/dispatch

From MediaWiki.org
Jump to navigation Jump to search

If frame satisfies a set of minimum constraints

local bar = dispatch(frame)
  :type('number', 'string') :lt(100) (function( num, str ) return end)
  :type('number') :ge(100) (function( num ) return end)
local bar = path(entity) :type('number') :get(1) :lt(100) (function( num, str ) return end)