sorcery  Diff

Differences From Artifact [0fb14e1ea3]:

To Artifact [c7882ede1c]:


   200    200   end
   201    201   
   202    202   fn.cond = function(exp, c)
   203    203   	for i, v in ipairs(c) do
   204    204   		if c[1](exp) then return c[2](exp) end
   205    205   	end
   206    206   end
          207  +
          208  +fn.strmatch = function(tbl, str)
          209  +	if tbl == str then return true end
          210  +	if type(tbl) == 'string' then return false end
          211  +	return fn.has(tbl, str)
          212  +end
   207    213   
   208    214   fn.select = function(tbl, prop, ...)
   209    215   	local keycache
   210    216   	local check if type(prop) == 'function' then
   211    217   		check = prop
   212    218   		keycache = ...
   213    219   	else