WLJS LogoWLJS Notebook

NumericFunction

NumericFunction is an attribute that can be assigned to a symbol f to indicate that f[arg1, arg2, ...] should be considered a numeric quantity whenever all the argi are numeric quantities.

Examples

SetAttributes[myFunc, NumericFunction]
NumericQ[myFunc[1, 2]]

Please visit the official Wolfram Language Reference for more details.

On this page