FreeQ
Usage
• FreeQ[expr, form] yields True if no subexpression in expr matches form, and yields False otherwise. • FreeQ[expr, form, levelspec] tests only those parts of expr on levels specified by levelspec.
Notes
• form can be a pattern. • Example: FreeQ[f[x^2] + y^2, x^_]  . • FreeQ looks at the heads of raw expressions, testing whether those heads match form. • New in Version 1.
|