TESSA Web API
Preparing search index...
Core.Common
ObjectHelper
hasSomeMethod
Function hasSomeMethod
hasSomeMethod
<
M
extends
(
string
|
symbol
)
[]
,
T
=
{
[
Key
in
string
|
symbol
]
:
Function
}
,
>
(
obj
:
unknown
,
...
methodNames
:
M
,
)
:
obj
is
T
Checks whether an object implements at least one of the provided methods.
Type Parameters
M
extends
(
string
|
symbol
)
[]
T
=
{
[
Key
in
string
|
symbol
]
:
Function
}
Parameters
obj
:
unknown
...
methodNames
:
M
Returns
obj
is
T
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
TESSA Web API
Loading...
Checks whether an object implements at least one of the provided methods.