Function: getActiveConfigSource()
getActiveConfigSource<
TSource>(config):TSource|undefined
Defined in: model/configs.ts:23
Determines the active source of the given Config
If a source is explicitly prioritized using Config.source, that source is returned.
Otherwise, the active source is determined by checking for the presence of configuration-specific fields in the following order:
Type Parameters
TSource
TSource extends string
Parameters
config
Config<TSource>
The configuration
Returns
TSource | undefined
The active configuration source, or undefined if none is active