The library's slot — series.options.custom,
series.get('userData'), trace.meta, usermeta.
Who is reading, and what they are reading it off.
Optionalreads: readonly T[]The declared types this adapter has a reading for, as validateDeclaration takes them.
The validated declaration, or null when there is none to read.
Reads the
maidrkey off a library's pass-through slot and validates it.Two of the slots arrive as
unknown— amCharts'userData, Plotly'smeta— sovalidateDeclaration(slot?.maidr, …)does not compile there, and the alternative is each adapter hand-rolling the same container guard or reaching foranyunder deadline. The container is narrowed once, here.A container that is not an object, or that carries no
maidrkey, is no declaration and passes quietly: Plotly'smetais very often a plain string that has nothing to do with MAIDR.