(car list)
Get the first item of the list.
This function takes a list apart and returns the first element of the list. For example, if you had a list of points such as (1.0 2.0 3.0), the car function would return the first element of the list, or 1.0.
Example
| Code | Returns |
|---|---|
| (setq a '("first" "second" "third") | ("first" "second" "third") |
| (setq b (car a)) | "FIRST" |
en
italiano
čeština
Deutsch
français
hrvatski
magyar
polski
српски
русский
中文
中文
한국어
español