summaryrefslogtreecommitdiffstats
path: root/coerce.txi
diff options
context:
space:
mode:
Diffstat (limited to 'coerce.txi')
-rw-r--r--coerce.txi12
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