Up |
varIfNot
Call a function if the type of the given function is different to the "bad".
This function should be used by advanced developers only. This function is not yet available.
Prototype :
fun [S S fun [u0] u1 u0] u1
- S : the name of the variable
- S : the "bad" type (of course, it should be known in the current channel)
- fun [u0] u1 : the called function if the variable has not the bad type
- u0 : the parameter at your convenience for the function
Return : u1 the return value of the function (if called), nil else (not called or error).