Skip to main content
Version: Next

between/3

Description

between/3 is a predicate that generates or tests integers within a range.

Signature

between(+Low, +High, ?Value)

Where:

  • Low is the lower bound (inclusive).
  • High is the upper bound (inclusive).
  • Value is unified with integers between Low and High.