listlist? - part-cw/lambdanative GitHub Wiki
#(listlist? obj) listlist? checks if an object is a list of lists
Parameter | Description |
---|---|
obj | The object to be checked |
Example
Example 1: Verify that an object is a list of lists and flatten it.
> (define lst (list (list 1 2 3) (list 3 4 5)))
> (listlist? lst)
#t
> (flatten lst)
(1 2 3 4 5 6)