[][src]Function two_timer::parsable

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

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");