File: coerce.txi

package info (click to toggle)
slib 3b1-4
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 5,060 kB
  • ctags: 2,432
  • sloc: lisp: 30,036; makefile: 1,152; sh: 372
file content (14 lines) | stat: -rw-r--r-- 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