![]() | ![]() | ![]() | list-length-2-p | ![]() |
| list
| [Function] |
Purpose
Fast length = 2 test of a list.
Package :gbbopen-tools
Module :gbbopen-tools
Arguments and values
list | A proper list or a dotted list | |
boolean | A generalized boolean |
Returns
True if list has length 2; nil
otherwise.
See also
list-length-1-p
list-length>
list-length>1
list-length>2
Examples
> (list-length-2-p '(a b)) t > (list-length-2-p '(a b c)) nil > (list-length-2-p '(a)) nil > (list-length-2-p '(a b . c)) nil >
The GBBopen Project
![]() | ![]() | ![]() | list-length-2-p | ![]() |