Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
method Node.prototype.rangeBy
Re-export
import { Node } from "https://deno.land/x/postcss@8.4.16/lib/postcss.d.ts";

Get the range for a word or start and end index inside the node. The start index is inclusive; the end index is exclusive.

Parameters

optional
opts: Pick<WarningOptions, "word" | "index" | "endIndex">

Options.

Returns

Range

Range.