Re: Select any
- To: mathgroup at smc.vnet.net
- Subject: [mg101957] Re: Select any
- From: ". at ntaxa.com" <kakabomba at gmail.com>
- Date: Fri, 24 Jul 2009 06:13:01 -0400 (EDT)
- References: <h4955q$q9l$1@smc.vnet.net>
On Jul 23, 12:57 am, Niko <niko.schw... at googlemail.com> wrote: > does mathematica have something like "select any" that gets any > element of a list that satisfies a criterion? Select[{1.1, 2, 3.1, 4.1}, MatchQ[#, _Integer] &, 1][[1]]