Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/willow_utils/src/ranges/ranges.ts>orderRangePair

TypeScript typings and utilities for the Willow protocol.
Go to Latest
function orderRangePair
import { orderRangePair } from "https://deno.land/x/willow_utils@0.8.0/src/ranges/ranges.ts";

Order a given pair of ranges by their type. Useful for functions using boolean logic based on the different combinations of range types.