listp
listp is a function in some programming languages, particularly those in the Lisp family such as Common Lisp and Scheme. It is a predicate function, meaning it returns a boolean value, true or false. The primary purpose of listp is to check if its argument is a list.
When evaluated, listp takes a single argument. If the argument is a list, listp returns true. Otherwise,
The definition of what constitutes a "list" can vary slightly between different Lisp dialects. In many implementations,