(value: unknown)
| 1 | import type { DynamicRowHeight } from "./types"; |
| 2 | |
| 3 | export function isDynamicRowHeight(value: unknown): value is DynamicRowHeight { |
| 4 | return ( |
| 5 | value != null && |
| 6 | typeof value === "object" && |
| 7 | "getAverageRowHeight" in value && |
| 8 | typeof value.getAverageRowHeight === "function" |
| 9 | ); |
| 10 | } |
nothing calls this directly
no outgoing calls
no test coverage detected