car


car(p)
      

Return the head of the pair p. Raise an error if p is not a valid pair.

Examples:


car(1:2)
// 1
car([10, 20, 30])
// 10
      

Also see:

cdr
head
tail
list


Core Module Index | Contents