Skip to content

Home / node / Commands / type-aliases / Boundary @valkey/valkey-glide


@valkey/valkey-glide / Commands / Boundary

Type Alias: Boundary\<T>

Boundary\<T> = InfBoundary | { isInclusive?: boolean; value: T; }

Defines the boundaries of a range.

Type Parameters

T

T

Type declaration

InfBoundary

Represents an lower/upper boundary.

{ isInclusive?: boolean; value: T; }

isInclusive?

optional isInclusive: boolean

Whether the value is inclusive. Defaults to true.

value

value: T

The comparison value.

Represents a specific boundary.