Skip to main content

click_is_payment

Function click_is_payment 

Source
pub(crate) fn click_is_payment(
    what: &str,
    description: &str,
    submits: bool,
) -> bool
Expand description

Does the committing click what (with the element’s description under its name) spend or move money? is_payment on both, except that a brand’s name (“Kakao Pay”) is not one: a payment-methods page lists dozens, and a click on one opens its settings. Its description still counts when it opens with a command (“Pay $20.00 now”).