iink-ts - v4.0.0
Preparing search index...
assertServerConfig
Function assertServerConfig
assertServerConfig
(
server
:
{
host
?:
string
;
scheme
?:
string
}
|
undefined
,
errorPrefix
:
string
,
)
:
asserts
server
is
{
host
:
string
;
scheme
:
string
}
Assert that server config has both scheme and host. Throws if either is missing.
Parameters
server
:
{
host
?:
string
;
scheme
?:
string
}
|
undefined
errorPrefix
:
string
Returns
asserts
server
is
{
host
:
string
;
scheme
:
string
}
Settings
Member Visibility
Protected
Inherited
Alpha
Beta
Theme
OS
Light
Dark
iink-ts - v4.0.0
Loading...
Assert that server config has both scheme and host. Throws if either is missing.