isstring - test if a value is a string
val.isstring()
The isstring() method tests whether val
is a string or a wide string. In OADL, a string is defined as a 1D
vector of characters.
true if val is a 1D vector of
characters, false otherwise.
None.
"hello".isstring()
true
L"hello".isstring()
true
['h', 'e', 'l', 'l', 'o'].isstring()
true
['h', 'e', 'l', 'l', 123].isstring()
false