fix: fix a bug where paste rules doesn’t worked at the start of the document, see #1225

This commit is contained in:
Philipp Kühn
2021-10-22 09:04:09 +02:00
parent 7ffabf251c
commit ff67ee1da3
2 changed files with 5 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
export default function isNumber(value: any): value is number {
return typeof value === 'number'
}