MCPcopy Create free account
hub / github.com/tinyplex/tinybase / isYAxisComponent

Function isYAxisComponent

src/ui-react-dom-charts/common/context.ts:45–46  ·  view source on GitHub ↗
(component: unknown)

Source from the content-addressed store, hash-verified

43export const isXAxisComponent = (component: unknown): boolean =>
44 isFunction(component) && (component as XAxisComponent)[X_AXIS] === true;
45export const isYAxisComponent = (component: unknown): boolean =>
46 isFunction(component) && (component as YAxisComponent)[Y_AXIS] === true;
47
48export type CartesianChartContextValue = {
49 readonly bounds: Bounds;

Callers 1

getParsedChildrenFunction · 0.90

Calls 1

isFunctionFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…