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

sequencep Function

Summary

A predicate to check for sequences.

Package

lispworks

Signature

sequencep object => result

Arguments
object
A Lisp object.
Values
result
A generalized boolean.
Description

The function sequencep returns true if object is of type sequence and false otherwise.

Examples
(sequencep '(1 2 3)) => t
(sequencep #(1 2 3)) => t
(sequencep 123) => nil

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