All Manuals > LispWorks® User Guide and Reference Manual > 38 The LISPWORKS Package

dotted-list-p Function

Summary

Tests whether a cons is a list ending in a non-nil cdr.

Package

lispworks

Signature

dotted-list-p list => result

Arguments
list
A list, which must be a cons.
Values
result
A generalized boolean.
Description

The function dotted-list-p is a predicate which tests whether list (which must be a cons) is a list ending in a non-nil cdr. It returns true if this is the case, otherwise it returns false.

See also

dotted-list-length


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