mirror of
https://github.com/lcn2/calc.git
synced 2025-08-19 01:13:27 +03:00
29 lines
428 B
Plaintext
29 lines
428 B
Plaintext
NAME
|
|
isstr - whether a value is a string
|
|
|
|
SYNOPSIS
|
|
isstr(x)
|
|
|
|
TYPES
|
|
x any, &any
|
|
|
|
return int
|
|
|
|
DESCRIPTION
|
|
Determine if x is a string. This function will return 1 if x is
|
|
a string, 0 otherwise.
|
|
|
|
EXAMPLE
|
|
> print isstr("1"), isstr(1), isstr("")
|
|
1 0 1
|
|
|
|
LIMITS
|
|
none
|
|
|
|
LIBRARY
|
|
none
|
|
|
|
SEE ALSO
|
|
isassoc, isfile, isident, isint, islist, ismat, isnull, isnum, isobj,
|
|
isreal, issimple, istype
|