( ds: SubstrateDatasource | BaseTemplateDataSource<SubstrateDatasource> )
| 33 | } |
| 34 | |
| 35 | export function isCustomDs<F extends SubstrateMapping<SubstrateCustomHandler>>( |
| 36 | ds: SubstrateDatasource | BaseTemplateDataSource<SubstrateDatasource> |
| 37 | ): ds is SubstrateCustomDatasource<string, F> { |
| 38 | return ds.kind !== SubstrateDatasourceKind.Runtime && !!(ds as SubstrateCustomDatasource<string, F>).processor; |
| 39 | } |
| 40 | |
| 41 | export function isRuntimeDs( |
| 42 | ds: SubstrateDatasource | BaseTemplateDataSource<SubstrateDatasource> |
no outgoing calls
no test coverage detected