// hasCompatDecomp returns true if any of the recursive
// decompositions contains a compatibility expansion.
// In this case, the character may not occur in NFK*.
hasCompatDecomp returns true if any of the recursive
decompositions contains a compatibility expansion.
In this case, the character may not occur in NFK*.
// hasCompatDecomp returns true if any of the recursive // decompositions contains a compatibility expansion . // In this case the character may not occur in NFK * .
func hasCompatDecomp(r rune) bool {
	c := &chars[r]
	if c.compatDecomp {
		return true
	}
	for _, d := range c.forms[FCompatibility].decomp {
		if hasCompatDecomp(d) {
			return true
		}
	}
	return false
}
func hasCompatDecomp ( r rune ) bool { c := & chars [ r ] if c . compatDecomp { return true } for _ , d := range c . forms [ FCompatibility ] . decomp { if hasCompatDecomp ( d ) { return true } } return false }
hasCompatDecomp returns true if any of the recursive
decompositions contains a compatibility expansion.
hasCompatDecomp returns true if any of the recursive decompositions contains a compatibility expansion .