KeyMatchExtension extension

Extension to check key matches more fluently.

on

Methods

matches(List<KeyBinding> bindings) → bool

Available on Key, provided by the KeyMatchExtension extension

Returns true if this key matches any of the given bindings.
matchesSingle(KeyBinding binding) → bool

Available on Key, provided by the KeyMatchExtension extension

Returns true if this key matches the given binding.