MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: ContainsQ ?

Chris Chiasson schrieb:
> Is there something like ContainsQ that means !FreeQ?

Hi Chris,

ContainsQ = MemberQ[#1, #2, Infinity, Heads -> True]&

should do it.


  • Prev by Date: Re: ContainsQ ?
  • Next by Date: Re: How to export txt files with variable name &
  • Previous by thread: Re: ContainsQ ?
  • Next by thread: Re: ContainsQ ?