Documentation Prolog Predicate Reference lists length/2

length/2

Length of a list.

Description

length( ?list, ?integer )

length(List, Integer) is true if and only if Integer is equal to the number of elements in List.

Implementation