Skip to content

Range

[Source]

class ref Range is
  Equatable[Range ref] ref,
  Stringable box

Implements


Constructors

create

[Source]

new ref create(
  from': (Version box | None box),
  to': (Version box | None box),
  from_inc': Bool val = true,
  to_inc': Bool val = true)
: Range ref^

Parameters

Returns


Public fields

let from: (Version box | None box)

[Source]


let to: (Version box | None box)

[Source]


let from_inc: Bool val

[Source]


let to_inc: Bool val

[Source]


Public Functions

contains

[Source]

fun box contains(
  v: Version ref)
: Bool val

Parameters

Returns


eq

[Source]

fun box eq(
  that: Range box)
: Bool val

Parameters

Returns


merge

[Source]

fun box merge(
  that: Range ref)
: Range ref

Parameters

Returns


overlaps

[Source]

fun box overlaps(
  that: Range ref)
: Bool val

Parameters

Returns


string

[Source]

fun box string()
: String iso^

Returns


ne

[Source]

fun box ne(
  that: Range box)
: Bool val

Parameters

Returns