@tikoci/centrs
Preparing search index...
resolveBooleanSetting
Function resolveBooleanSetting
resolveBooleanSetting
(
explicit
:
boolean
|
undefined
,
env
:
Record
<
string
,
string
|
undefined
>
,
envName
:
string
,
defaultValue
:
boolean
,
key
:
string
,
commentKv
?:
CommentKvLayer
<
boolean
>
,
config
?:
Record
<
string
,
string
|
undefined
>
,
)
:
ResolvedSetting
<
boolean
>
Resolve a boolean-valued setting. Order: explicit → env → comment-kv → config → default.
Parameters
explicit
:
boolean
|
undefined
env
:
Record
<
string
,
string
|
undefined
>
envName
:
string
defaultValue
:
boolean
key
:
string
Optional
commentKv
:
CommentKvLayer
<
boolean
>
Optional
config
:
Record
<
string
,
string
|
undefined
>
Returns
ResolvedSetting
<
boolean
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@tikoci/centrs
Loading...
Resolve a boolean-valued setting. Order: explicit → env → comment-kv → config → default.