Methods

configΒΆ

config(k:Str)

Get configuration for the given key. Lookup order / first wins: (1) Environment variable NGS_$k (2) previously set config(k, v)
Source: stdlib.ngs:3534

k

Configuration key

Returns

Any. If data found in environment variable, it will be parse()d or returned as Str if parse() fails.

Example

conf = config("table_${t.name}")