private categorisefunction

categorise(binding)

For the given Docs.Binding object, determine and return its “category”, namely either “constant”, “global”, “struct”, “type”, “parametric struct”, “parametric type”, “module”, “macro”, or “function.