MCPcopy Index your code
hub / github.com/monkeytypegame/monkeytype / isObject

Function isObject

frontend/src/ts/utils/misc.ts:504–506  ·  view source on GitHub ↗
(obj: unknown)

Source from the content-addressed store, hash-verified

502}
503
504export function isObject(obj: unknown): obj is Record<string, unknown> {
505 return typeof obj === "object" && !Array.isArray(obj) && obj !== null;
506}
507
508export function prefersReducedMotion(): boolean {
509 return matchMedia?.("(prefers-reduced-motion)")?.matches;

Callers 3

migrateFilterStorageFunction · 0.90
persistence.tsFile · 0.90
misc.spec.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected