Improves docs in cursorCollection

This commit is contained in:
Henning Dieterichs 2021-12-08 15:23:05 +01:00
parent 18214d3dbd
commit 5e54e75763
No known key found for this signature in database
GPG key ID: 771381EFFDB9EC06

View file

@ -15,7 +15,7 @@ export class CursorCollection {
private context: CursorContext;
/**
* `cursors[0]` is the primary cursor.
* `cursors[0]` is the primary cursor, thus `cursors.length >= 1` is always true.
* `cursors.slice(1)` are secondary cursors.
*/
private cursors: Cursor[];