| string?(3scm) | Scheme Programmer's Manual | string?(3scm) |
NAME
string? - test if an object is a string
LIBRARY
(import (rnrs)) ;R6RS (import (rnrs base)) ;R6RS (import (scheme r5rs)) ;R7RS (import (scheme base)) ;R7RS
SYNOPSIS
(string? obj)
DESCRIPTION
Returns #t if obj is a string, otherwise returns #f.
RETURN VALUES
Returns a single boolean object as per the description.
EXAMPLES
(string? "123") => #t (string? '#(1 2 3)) => #f (string? '(1 2 3)) => #f
ERRORS
This procedure can raise exceptions with the following condition types:
- &assertion (R6RS)
- The wrong number of arguments was passed.
- R7RS
- The assertions described above are errors. Implementations may signal an error, extend the procedure's domain of definition to include such arguments, or fail catastrophically.
SEE ALSO
make-string(3scm)
STANDARDS
R4RS, IEEE Scheme, R5RS, R6RS, R7RS
AUTHORS
This page is part of the scheme-manpages project. It includes materials from the RnRS documents. More information can be found at https://weinholt.se/scheme/manpages/.
| 2021-01-17 |