WSCheckFunction (C Function)
-
See Also
- C Functions
- WSGetFunction()
- Related Guides
- Tech Notes
-
-
See Also
- C Functions
- WSGetFunction()
- Related Guides
- Tech Notes
-
See Also
WSCheckFunction (C Function)
int WSCheckFunction(WSLINK link,char *name,long *n)
checks that a function whose head is a symbol with the specified name is on link, and stores the number of the arguments of the function in n.
Details

- WSCheckFunction() returns 0 if the current object on the link is not a function with a symbol as a head, or if the name of the symbol does not match name.
- WSCheckFunction() is equivalent to WSTestHead().
See Also
C Functions: WSGetFunction()
History
Introduced in 1996 (3.0)