Use to determine something read in from a file.

On 03/24/2014 09:30 AM, Collin Glass wrote:
Hmm.. What's your use case? I mean you could just whip up a quick function isnum that returns true if typeof is any of the collection of formats.




On Sunday, March 23, 2014 9:20:51 PM UTC-4, K leo wrote:

    typeof(var) gives something too specific, like Int16, Float32,
    etc. Is
    there a convenient way to determine if var is a number or
    something else
    (string)?  I tried isreal(var), but it gives an error in case var
    is not
    a number.


Reply via email to