Uneventful
Preparing search index...
uneventful/utils
isGeneratorFunction
Function isGeneratorFunction
isGeneratorFunction
<
G
extends
Generator
<
any
,
any
,
any
>
=
Generator
<
unknown
,
any
,
unknown
>
,
>
(
fn
:
any
,
)
:
fn
is
(
this
:
any
,
...
args
:
any
[]
)
=>
G
Is the given function a native generator function?
Type Parameters
G
extends
Generator
<
any
,
any
,
any
>
=
Generator
<
unknown
,
any
,
unknown
>
Parameters
fn
:
any
Returns
fn
is
(
this
:
any
,
...
args
:
any
[]
)
=>
G
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Uneventful
Loading...
Is the given function a native generator function?