I know of no fast proc for these. Kludge
(key(x)\1=="__s") # iff x is a record else may runerr
islist, isset, istable would be nice too - and faster than
in a proc for coercions is even slower.
isstring, isinteger, isreal, isnumeric
would be good since they would not convert their args
x:=isstring(y) vs type(y)=="string" & x:=y
isscalar(x) vs type(x)=="integer"|"real"|"&null" # can't !x
Log in to post a comment.