Forum Discussion
RokuKC
11 years agoRoku Employee
"EnTerr" wrote:"Komag" wrote:
EDIT - This will work to check that it's either a String or a roString?
Yes. It will work with all* string types in B/S.
Note that there are components other than String / roString that implement the ifString interface.
This may be academic in your case, but if your intent is to truly identify string objects that have regular string object behavior I would advise doing the lcase(type(x)) = "string" etc. comparison as TheEndless demonstrated.
Similarly for ifInt et al.