From 85171e7cca5f349d2dbb8a8b0ed216c8ec7ae0c5 Mon Sep 17 00:00:00 2001 From: lingdocs <71590811+lingdocs@users.noreply.github.com> Date: Sat, 9 Apr 2022 16:09:44 +0500 Subject: [PATCH] update verbEntry predicate stuff --- src/lib/type-predicates.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/type-predicates.ts b/src/lib/type-predicates.ts index ad614d8..1cdcd02 100644 --- a/src/lib/type-predicates.ts +++ b/src/lib/type-predicates.ts @@ -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 { - return e && !!e.c?.startsWith("v.") + return !!e.c?.startsWith("v."); } export function isVerbEntry(e: T.Entry | T.DictionaryEntry): e is T.VerbEntry {