Skip to main content

find_amount

Function find_amount 

Source
pub fn find_amount(words: &MoneyWords, text: &str) -> Option<Amount>
Expand description

The amount a message is about: the first after a word after which it usually comes (MoneyWords::keywords: “total”, “you received”), else the first.