function to check if array is empty
- To: mathgroup at smc.vnet.net
- Subject: [mg88313] function to check if array is empty
- From: will parr <willpowers69 at hotmail.com>
- Date: Thu, 1 May 2008 03:22:23 -0400 (EDT)
Dear Math Forum,
this probably already exists, but I can't find it anywhere:
is there a function that will check if an array is empty?
i'm looking for a function to return either True (or 1), or False (or 0) when it checks an array. eg:
X = Array[0 &, {3, 3}]
then test with function (called ArrayEmpty, for example)
In: ArrayEmpty[X]
Out: True
best wishes,
Will
- Follow-Ups:
- Re: function to check if array is empty
- From: Murray Eisenberg <murray@math.umass.edu>
- Re: function to check if array is empty
- From: "Adriano Pascoletti" <adriano.pascoletti@gmail.com>
- Re: function to check if array is empty