Liking cljdoc? Tell your friends :D
ClojureScript only.

dots.vscode.notebook-range

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.
raw docstring

empty?cljs

(empty? notebook-range)

true if start and end are equal.

`true` if `start` and `end` are equal.
sourceraw docstring

endcljs

(end notebook-range)

The exclusive end index of this range (zero-based).

The exclusive end index of this range (zero-based).
sourceraw docstring

startcljs

(start notebook-range)

The zero-based start index of this range.

The zero-based start index of this range.
sourceraw docstring

withcljs

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close