Preparing search index...
The search index is not available
OpenTelemetry SDK
OpenTelemetry SDK
@opentelemetry/sdk-trace-web
hasKey
Function hasKey
hasKey
<
O
extends
object
>
(
obj
:
O
,
key
:
PropertyKey
)
:
key
is
keyof
O
Helper function to be able to use enum as typed key in type and in interface when using forEach
Type Parameters
O
extends
object
Parameters
obj
:
O
key
:
PropertyKey
Returns
key
is
keyof
O
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
OpenTelemetry SDK
Loading...
Helper function to be able to use enum as typed key in type and in interface when using forEach