UNPKG

obscenity

Version:

Robust, extensible profanity filter.

10 lines (9 loc) 388 B
import type { Interval } from '../util/Interval'; export declare class IntervalCollection implements Iterable<Interval> { private dirty; private readonly intervals; insert(lowerBound: number, upperBound: number): void; query(lowerBound: number, upperBound: number): boolean; values(): IterableIterator<Interval>; [Symbol.iterator](): IterableIterator<Interval>; }