Skip to main content

check_vector_variable

Function check_vector_variable 

Source
pub fn check_vector_variable(s: &str) -> Option<(String, ValueKind)>
Expand description

Turn vector variable string into name and corresponding color if it includes values other than 0 and 1. If only 0 and 1, return None. Related to kind_for_binary_representation, which returns only the kind.