pub fn is_singular_of(singular: &str, plural: &str) -> boolExpand description
Check if a singular word could be the singular form of a plural word.
This is useful for matching node names to field names in deserialization:
is_singular_of("dependency", "dependencies")→trueis_singular_of("child", "children")→trueis_singular_of("item", "items")→true
This function is allocation-free when possible.