 
 
 
 
 
 
Re: Map to nested list
- To: mathgroup at smc.vnet.net
- Subject: [mg98260] Re: Map to nested list
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Sun, 5 Apr 2009 06:30:32 -0400 (EDT)
- Reply-to: hanlonr at cox.net
Map[IntegerQ, {{1, 1/5}, {1, 1/5}}, {2}]
{{True, False}, {True, False}}
IntegerQ /@ # & /@ {{1, 1/5}, {1, 1/5}}
{{True, False}, {True, False}}
Bob Hanlon
---- athanase <aeoost at gmail.com> wrote: 
=============
this expression
IntegerQ/@{1,1/5}
outputs {True, False}
which operator is used for nested list?
so 
IntegerQ ? {{1,1/5},{1,1/5}}
outputs {{True, False},{True, False}}
thankyou :)

