MCPcopy Create free account
hub / github.com/z7zmey/php-parser / IsEmpty

Method IsEmpty

freefloating/string.go:106–113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104type Collection map[Position][]String
105
106func (c Collection) IsEmpty() bool {
107 for _, v := range c {
108 if len(v) > 0 {
109 return false
110 }
111 }
112 return true
113}

Callers 15

PrintMethod · 0.80
printBinaryLogicalAndMethod · 0.80
printBinaryLogicalOrMethod · 0.80
printBinaryLogicalXorMethod · 0.80
printBinaryNotEqualMethod · 0.80
printArrayMethod · 0.80
printBoolMethod · 0.80
printDoubleMethod · 0.80
printIntMethod · 0.80
printObjectMethod · 0.80
printStringMethod · 0.80
printUnsetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected