Skip to main content
Version: Next

length/2

Description

length/2 is a predicate that determines the length of a list.

Signature

length(?List, ?`length/2`)

Where:

  • List is the list.
  • length/2 is the number of elements in the list.