Optional
allowVariants?: booleanOptional
onlyPressable?: booleanIf true, will return false if the shortcut is not one key press away.
Optional
onlySubset?: booleanIf true, will return false if the last chord of the chainSubset is exactly equal.
So for example, for the chain: [[a], [ctrl+b]], the following would return as follows:
// true
[[]] or []
[[a]]
[[a], []]
[[a], [ctrl]]
[[a], [b]]
// false
[[a], [ctrl, b]]
Returns whether a chain is a subset of another, taking into account variants (this can be disabled).