MathGroup Archive 2009

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

Search the Archive

Re: Determine if a parameter is a function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg101762] Re: Determine if a parameter is a function
  • From: Simon <simonjtyler at gmail.com>
  • Date: Thu, 16 Jul 2009 08:20:04 -0400 (EDT)
  • References: <h3kddu$g35$1@smc.vnet.net>

Hi Peter,

I think that the easiest way is to check whether the object will
evaluate to anything (normally in these situations you'll know what
type of arguments you want your function to act on).  This can be done
using ValueQ.

Simon


  • Prev by Date: Modify variable names in a loop
  • Next by Date: Seifert view for knots
  • Previous by thread: Re: Determine if a parameter is a function
  • Next by thread: Re: Determine if a parameter is a function