diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:28 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:28 -0800 |
commit | 87b82b5822ca54228cfa6df29be3ad9d4bc47d16 (patch) | |
tree | 1eb4f87abd38bea56e08335d939e8171d5e7bfc7 /coerce.txi | |
parent | bd9733926076885e3417b74de76e4c9c7bc56254 (diff) | |
download | slib-87b82b5822ca54228cfa6df29be3ad9d4bc47d16.tar.gz slib-87b82b5822ca54228cfa6df29be3ad9d4bc47d16.zip |
Import Upstream version 2d2upstream/2d2
Diffstat (limited to 'coerce.txi')
-rw-r--r-- | coerce.txi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/coerce.txi b/coerce.txi new file mode 100644 index 0000000..4b7f6b0 --- /dev/null +++ b/coerce.txi @@ -0,0 +1,12 @@ + +@defun type-of obj + +Returns a symbol name for the type of @var{obj}. +@end defun + +@defun coerce obj result-type + +Converts and returns @var{obj} of type @code{char}, @code{number}, +@code{string}, @code{symbol}, @code{list}, or @code{vector} to +@var{result-type} (which must be one of these symbols). +@end defun |