Arc Cross Reference

type

[procedure] type obj

Returns a symbol that represents the type of obj.

returned symbol object's type
cons pair
sym symbol
fn procedure
char character
string string
int integral number
num non-integral number
table hashtable
output output port
input input port
socket socket
exception exception
mac macro

If obj is an annotated object (see annotate), the type given to annotate is returned.

See also: isa, scheme:class-of