User Tools


Function SYMBOLP

Syntax

  • symbolp objectgeneralized-boolean

Arguments and Values

Description

Returns true if object is of type symbol; otherwise, returns false.

Examples

(symbolp 'elephant)

true

(symbolp 12)

false

(symbolp '|12|)

true

(symbolp nil)

true

(symbolp '())

true

(symbolp :test)

true

(symbolp "hello")

false

Side Effects

None.

Affected By

None.

Exceptional Situations

None.

See Also

Notes

(symbolp object) ≡ (typep object 'symbol)