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

x/willow_utils/src/ranges/ranges.ts

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

Functions

Returns the intersection of two ranges, of which there may be none.

Returns whether a Position3d is included by a given Range.

Returns whether a Value is included by a given Range.

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

Returns whether a range is fully included by another range.