Skip to main content

get_cond_num

Function get_cond_num 

Source
pub fn get_cond_num(tst: &str) -> i32
Expand description

Port of get_cond_num(char *tst) from Src/parse.c:2643. Returns the index of tst in {"nt","ot","ef","eq","ne","lt","gt","le","ge"} or -1 if not a recognized binary cond operator.