update verbEntry predicate stuff

This commit is contained in:
lingdocs 2022-04-09 16:09:44 +05:00
parent a94d5ef552
commit 85171e7cca
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ export function isNounOrAdjEntry(e: T.Entry): e is (T.NounEntry | T.AdjectiveEnt
} }
export function isVerbDictionaryEntry(e: T.DictionaryEntry): e is T.VerbDictionaryEntry { export function isVerbDictionaryEntry(e: T.DictionaryEntry): e is T.VerbDictionaryEntry {
return e && !!e.c?.startsWith("v.") return !!e.c?.startsWith("v.");
} }
export function isVerbEntry(e: T.Entry | T.DictionaryEntry): e is T.VerbEntry { export function isVerbEntry(e: T.Entry | T.DictionaryEntry): e is T.VerbEntry {