type/string
check for an object of type string
type/nonemptystring
check for a non-empty string
Calling Sequence
Parameters
Description
Examples
type(x, string)
type(x, nonemptystring)
x
-
any expression
The call type(x, string) checks to see if x is of type string. It returns true if x is of type string, and false otherwise.
The call type(x, nonemptystring) checks to see if x is of type string and x<>"".
type⁡1,string
false
type⁡12,string
type⁡0.5,string
type⁡String,string
true
type⁡Name,string
type⁡ab,string
type⁡,string
type⁡,nonemptystring
type⁡String,nonemptystring
type⁡1,nonemptystring
See Also
Formats/ByType/string
string
type
type/atomic
type/indexable
type/literal
type/name
Download Help Document