A notebook range represents an ordered pair of two cell indices. It is guaranteed that start is less than or equal to end.
A notebook range represents an ordered pair of two cell indices. It is guaranteed that start is less than or equal to end.
(empty? notebook-range)
true
if start
and end
are equal.
`true` if `start` and `end` are equal.
(end notebook-range)
The exclusive end index of this range (zero-based).
The exclusive end index of this range (zero-based).
(start notebook-range)
The zero-based start index of this range.
The zero-based start index of this range.
(with notebook-range change)
Derive a new range for this range.
Parameters:
change
: { start?: number | undefined; end?: number | undefined; }
- An object that describes a change to this range.Returns: NotebookRange
- A range that reflects the given change. Will return this
range if the change
is not changing anything.
Derive a new range for this range. **Parameters:** - `change`: `{ start?: number | undefined; end?: number | undefined; }` - An object that describes a change to this range. **Returns:** `NotebookRange` - A range that reflects the given change. Will return `this` range if the change is not changing anything.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close