Skip to main content

has_id_like_name

Function has_id_like_name 

Source
fn has_id_like_name(param: &VariableDefinition<'_>) -> bool
Expand description

Returns true when the parameter name matches id/ID, ends with Id, _id, _ID, or ends with ID preceded by a lowercase ASCII letter.