Name

cons?

Usage

builtin-function

Syntax

(cons? expr)

Description

Returns true if expr is a non-empty list.

user 1 > (cons? 1)
it: false
user 2 > (cons? null)
it: false
user 3 > (cons? '(1 1))
it: true