Documentation
Preparing search index...
@saltcorn/data
models/index
config
getConfig
Variable getConfig
getConfig
:
(
key
:
string
,
def
?:
any
)
=>
Promise
<
any
>
Type Declaration
(
key
:
string
,
def
?:
any
)
:
Promise
<
any
>
Function
Get Config variable value by key (contract)
Parameters
key
:
string
Optional
def
:
any
Returns
Promise
<
any
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
Get Config variable value by key (contract)