NotListQ


NotListQ[expr]

returns True if expr is not a list. This function is primarily used in function patterns for specifying type of a parameter.

Consider this definition for taking the deriviate Sin of a function:

=

We use “MyD” above to distinguish it from the Builtin D. Now let's try it:

And compare it with the Builtin deriviative function D:

Note however the pattern only matches if the x parameter is not a list:

MemberQ
SubsetQ