move isCellSelection to table extension

This commit is contained in:
Philipp Kühn
2021-02-26 18:11:42 +01:00
parent e3f80207cc
commit a7ab9454b5
3 changed files with 6 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
import { CellSelection } from 'prosemirror-tables'
export function isCellSelection(value: unknown): value is CellSelection {
return value instanceof CellSelection
}