File: coerce.txi

package info (click to toggle)
slib 3c1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,076 kB
  • sloc: lisp: 29,815; makefile: 1,165; sh: 953
file content (14 lines) | stat: -rwxr-xr-x 312 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

@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