DADiSP Worksheet Functions > Function Categories > Query Functions > ISFUNC
Returns 1 if input is a loaded SPL function, else 0.
ISFUNC("funcname")
"funcname" |
- |
A string, the SPL function name to test. |
An integer 1 or 0.
zeros(1, 1);
isfunc("zeros");
returns 1 since ZEROS.SPL automatically loaded upon invocation.
See WHICH to return the path to the SPL source file.