Skip to content

@sqlrooms/kepler / shouldIncludeKeplerTable

Function: shouldIncludeKeplerTable() ​

shouldIncludeKeplerTable(table, options?): boolean

Return whether a DuckDB table should be exposed as a Kepler layer source.

This is the shared gate used by Add Layer table options and by host UIs that offer their own "add table to map" actions.

Parameters ​

ParameterType
tableDataTable
optionsKeplerTableSelectionOptions

Returns ​

boolean