yaschema
    Preparing search index...

    Interface Range<T>

    A generic range

    interface Range<T> {
        max?: T;
        maxExclusive?: boolean;
        min?: T;
        minExclusive?: boolean;
    }

    Type Parameters

    • T
    Index

    Properties

    max?: T

    The maximum allowed value.

    maxExclusive

    no maximum
    
    maxExclusive?: boolean

    If true, the maximum value is exclusive (meaning values <, rather than <= are included)

    false

    min?: T

    The minimum allowed value

    minExclusive

    no minimum
    
    minExclusive?: boolean

    If true, the minimum value is exclusive (meaning values >, rather than >= are included)

    false