Function InputEvent.isAction

Returns true if this input event matches a pre-defined action of any type.

bool isAction (
  const(String) action
) nothrow @nogc const;