• Whether that press would do anything, for the control's enabled state.

    Parameters

    • ctx: Pick<WidgetContext, "history" | "draw">
    • direction: "undo" | "redo"

    Returns boolean