(value: unknown)
| 21 | export type MotionSpecParse = { ok: true; spec: MotionSpec } | { ok: false; errors: string[] }; |
| 22 | |
| 23 | function isObject(value: unknown): value is Record<string, unknown> { |
| 24 | return typeof value === "object" && value !== null && !Array.isArray(value); |
| 25 | } |
| 26 | |
| 27 | function isSelector(value: unknown): value is string { |
| 28 | return typeof value === "string" && value.trim().length > 0; |
no outgoing calls
no test coverage detected