On Fri, 9 Nov 2012, Sven Schreiber wrote:
Am 09.11.2012 18:17, schrieb Allin Cottrell:
> On Fri, 9 Nov 2012, Sven Schreiber wrote:
>>
>> I'm not saying I need it, but it isn't obvious to me why it is less
>> useful in principle than for example 'isstring()'. Instead it seems to
>> be a natural complement to the other 'is...()' functions, doesn't
it?
>
> Maybe I was too glib. But actually, it seems to me that all we
> really need is isnull() --
[followed by more detail]
Hm, not sure, but what about the case of analyzing the components of
bundles in a script? Maybe the bundle itself is a function argument, and
then the function needs to check the sanity of the structure of the
bundle that was passed in?
Point taken. I need to think about that. If it's valid I guess
we should add ismatrix and isbundle? Or, perhaps better, roll
these distinct functions into something we might call typeof?
if typeof(whatever) != "scalar"
...
endif
Allin