FunctionWranglers.sfindfirst
— Methodsfindfirst(wrangler::FunctionWrangler, args...)
Look for the first function which returns true
for the given arguments, and returns its index. Return nothing
if no function returned true
.
FunctionWranglers.sindex
— Methodsindex(wrangler::FunctionWrangler, idx, args...)
Call the idx
-th function with args.
Note that this call iterates the wrangler from 1 to idx
. Try to put the frequently called functions at the beginning to minimize overhead.
FunctionWranglers.smap!
— Methodsmap!(outputs, wrangler::FunctionWrangler, args...)
Map a single set of arguments using all the functions into a preallocated array.