Skip to main content

is_valid_product_code

Function is_valid_product_code 

Source
pub fn is_valid_product_code(code: &str) -> bool
Expand description

Returns true only if the product code contains A–Z, a–z, or 0–9.