Skip to main content

shift_skips_confirmation

Function shift_skips_confirmation 

pub fn shift_skips_confirmation(can_be_undone: bool) -> bool
Expand description

The one rule of every confirmation a person is asked: Shift skips it, if and only if Undo takes the action back (can_be_undone, from the action’s contract). What Undo cannot take back is asked, Shift or not.