Move .isEmpty to $isEmpty (#5424)

* Move .isEmpty to $isEmpty

* Adjust usages
This commit is contained in:
Jaco
2023-01-19 11:07:29 +02:00
committed by GitHub
parent 4688291ecf
commit 6f19084a4d
66 changed files with 249 additions and 146 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ function checkInstance (created: Codec, matcher: Uint8Array): void {
) ||
(
// when the created is empty and matcher is also empty, let it slide...
created.isEmpty &&
created.$isEmpty &&
matcher.every((v) => !v)
)
);