Previous Up Next

5.38.13  Length of a list : size nops length

size or nops or length takes as argument a list (resp. sequence).
size or nops or length returns the length of this list (resp. sequence).
Input :

nops([3,4,2])

or :

size([3,4,2])

or :

length([3,4,2])

Output :

3

Previous Up Next