MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / HasByString

Method HasByString

xmlparser/attributes.go:107–109  ·  view source on GitHub ↗

HasByString is like Has but accepts a string name.

(name string)

Source from the content-addressed store, hash-verified

105
106// HasByString is like Has but accepts a string name.
107func (a *Attributes) HasByString(name string) bool {
108 return a.Has(Name(name))
109}
110
111// Len returns the number of attributes.
112func (a *Attributes) Len() int {

Callers

nothing calls this directly

Calls 2

HasMethod · 0.95
NameTypeAlias · 0.85

Tested by

no test coverage detected