@kaynooo/utils
Preparing search index...
builder/endpoint
declareIsEndpoint
Function declareIsEndpoint
declareIsEndpoint
<
EndpointsConst
extends
Record
<
Key
,
string
>
>
(
ENDPOINTS
:
EndpointsConst
,
)
:
<
T
extends
string
|
number
|
symbol
=
keyof
EndpointsConst
>
(
args
:
any
,
)
=>
args
is
EndpointArgs
<
EndpointsConst
,
T
,
{}
>
Type Parameters
EndpointsConst
extends
Record
<
Key
,
string
>
Parameters
ENDPOINTS
:
EndpointsConst
Returns
<
T
extends
string
|
number
|
symbol
=
keyof
EndpointsConst
>
(
args
:
any
,
)
=>
args
is
EndpointArgs
<
EndpointsConst
,
T
,
{}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@kaynooo/utils
Loading...