Preparing search index...
The search index is not available
@kaynooo/utils
@kaynooo/utils
endpointUtils
declareIsEndpoint
Function declareIsEndpoint
declare
Is
Endpoint
<
EndpointsConst
,
EndpointsType
>
(
ENDPOINTS
)
:
(
<
T
>
(
args
:
any
)
=>
args
is
EndpointArgs
<
EndpointsConst
,
EndpointsType
,
T
>
)
Type Parameters
EndpointsConst
extends
Record
<
Key
,
string
>
EndpointsType
extends
Partial
<
Record
<
keyof
EndpointsConst
,
any
>
>
Parameters
ENDPOINTS
:
EndpointsConst
Returns
(
<
T
>
(
args
:
any
)
=>
args
is
EndpointArgs
<
EndpointsConst
,
EndpointsType
,
T
>
)
<
T
>
(
args
)
:
args
is
EndpointArgs
<
EndpointsConst
,
EndpointsType
,
T
>
Type Parameters
T
extends
string
|
number
|
symbol
=
keyof
EndpointsConst
Parameters
args
:
any
Returns
args
is
EndpointArgs
<
EndpointsConst
,
EndpointsType
,
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@kaynooo/utils
Loading...