Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2008

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

Search the Archive

Re: IsIntegerOrFloat

  • To: mathgroup at
  • Subject: [mg87066] Re: IsIntegerOrFloat
  • From: Bhuvanesh <lalu_bhatt at>
  • Date: Mon, 31 Mar 2008 02:01:42 -0500 (EST)

One possibility is

IsIntegerOrFloat[list_List] := VectorQ[list, MemberQ[{Real,Integer}, Head[#]]&]

Wolfram Research

  • Prev by Date: Minimum width of Button[.] on different platforms
  • Next by Date: Re: Fast way to select those elements from a list that are in another
  • Previous by thread: Re: IsIntegerOrFloat
  • Next by thread: variance of product of 2 independent variables