@witchcraft/spellcraft
Github
Issues
npm
Preparing search index...
utils/containsKey
containsKey
Function containsKey
containsKey
(
chordOrChain
:
string
[]
|
string
[]
[]
,
key
:
string
,
keys
:
Keys
,
opts
?:
{
allowVariants
?:
boolean
}
,
)
:
boolean
Returns whether a shortcut's chain or chord contains the given key according to
equalsKey
.
Parameters
chordOrChain
:
string
[]
|
string
[]
[]
key
:
string
keys
:
Keys
opts
:
{
allowVariants
?:
boolean
}
= {}
Returns
boolean
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Github
Issues
npm
@witchcraft/spellcraft
Loading...
Returns whether a shortcut's chain or chord contains the given key according to equalsKey.