@sqlrooms/deck / asDeckJsonMapConfig
Function: asDeckJsonMapConfig()
asDeckJsonMapConfig(
config):DeckMapConfig|null
Returns a record as a Deck map config when it has the required top-level spec and dataset registry, otherwise returns null.
Parameters
| Parameter | Type |
|---|---|
config | Record<string, unknown> |
Returns
DeckMapConfig | null