parsable

Function parsable 

Source
pub fn parsable(phrase: &str) -> bool
Expand description

Simply returns whether the given phrase is parsable as a time expression. This is slightly more efficient than parse(expression, None).is_ok() as no parse tree is generated.

ยงExamples

let copacetic = parsable("5/6/69");