Mathematica 9 is now available

Documentation / Mathematica / Built-in Functions / Lists and Matrices / List Testing /

FreeQ

FilledSmallSquare FreeQ[expr, form] yields True if no subexpression in expr matches form, and yields False otherwise.

FilledSmallSquare FreeQ[expr, form, levelspec] tests only those parts of expr on levels specified by levelspec.

FilledSmallSquare form can be a pattern.

FilledSmallSquare Example: FreeQ[f[x^2] + y^2, x^_] LongRightArrow.

FilledSmallSquare FreeQ looks at the heads of raw expressions, testing whether those heads match form.

FilledSmallSquare See Section 1.8.5, Section 2.1.5 and Section 2.3.5.

FilledSmallSquare See also: MemberQ, Count.

FilledSmallSquare New in Version 1.

Further Examples



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.