All Manuals > LispWorks® User Guide and Reference Manual > 35 The DSPEC Package

dspec-defined-p Function

Summary

The predicate for whether a dspec has a definition.

Package

dspec

Signature

dspec-defined-p dspec => definedp

Arguments
dspec
A dspec.
Values
definedp
The canonical form of dspec if dspec is defined, or nil otherwise.
Description

The function dspec-defined-p determines whether the dspec dspec has a definition. If so, it returns the canonical form of dspec.

If dspec has no definitions, dspec-defined-p returns nil.

Examples
CL-USER 23 > (dspec:dspec-defined-p '(function list))
(DEFUN LIST)

LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:33