MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / isObject

Function isObject

packages/core/src/renderer/styles.ts:11–13  ·  view source on GitHub ↗
(v: unknown)

Source from the content-addressed store, hash-verified

9const DISABLED_FG = rgb(128, 128, 128);
10
11function isObject(v: unknown): v is Record<string, unknown> {
12 return typeof v === "object" && v !== null;
13}
14
15function resolveStyleColor(theme: Theme, value: unknown): unknown {
16 if (typeof value === "string") {

Callers 1

asTextStyleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected