Function javascriptcore6::functions::options_set_range_string

source ·
pub fn options_set_range_string(option: &str, value: &str) -> bool
Expand description

Set @option as a range string. The string must be in the format !<low>[:<high>] where low and high are #guint values. Values between low and high (both included) will be considered in the range, unless ! is used to invert the range.

§option

the option identifier

§value

the value to set

§Returns

true if option was correctly set or false otherwise.