3 // Has gets whether there is something at the specified selector
6 // If m is nil, Has will always return false.
7 func (m Map) Has(selector string) bool {
11 return !m.Get(selector).IsNil()
14 // IsNil gets whether the data is nil or not.
15 func (v *Value) IsNil() bool {
16 return v == nil || v.data == nil