Tests whether a
cons
is a list ending in a non-
nil
cdr
.
Package
lispworks
Signature
dotted-list-p
list
=>
bool
Arguments
list
A list, which must be a
cons
.
Values
bool
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 a true value if this is the case, otherwise it returns
nil
.