chore(repo): prune dead code and duplicate abstractions (#3413)

This commit is contained in:
Hampus authored and GitHub committed 2026-10-12 13:09:42 +02:00
1 parent c17091768c
commit c9fdf8fead
2937 files changed
+42233 -176793

No files matched your search

@@ -0,0 +1,9 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
export function isObjectLike(value: unknown): value is Record<string, unknown> {
return typeof value === 'object' && value !== null;
}
export function isRecord(value: unknown): value is Record<string, unknown> {
return isObjectLike(value) && !Array.isArray(value);
}