Function: hasTomlKey()
hasTomlKey(
tomlSource:string,key:string):boolean
Defined in: _internal/config-file-scanner.ts:233
Returns true when a TOML assignment for key exists with a non-empty
value.
false is returned if the key is absent or if the assignment's value is
empty or whitespace-only.
Parametersâ
tomlSourceâ
string
keyâ
string
Returnsâ
boolean