func (sas SpaceAddresses) OneMatchingScope(getMatcher ScopeMatchFunc) (SpaceAddress, bool) {
	addrs := sas.AllMatchingScope(getMatcher)
	if len(addrs) == 0 {
		return SpaceAddress{}, false
	}
	return addrs[0], true
}
// OneMatchingScope returns the address that best satisfies the input scope
// matching function. The boolean return indicates if a match was found.
OneMatchingScope returns the address that best satisfies the input scope
matching function. The boolean return indicates if a match was found.
// OneMatchingScope returns the address that best satisfies the input scope // matching function . The boolean return indicates if a match was found .
func (sas SpaceAddresses) OneMatchingScope(getMatcher ScopeMatchFunc) (SpaceAddress, bool) {
	addrs := sas.AllMatchingScope(getMatcher)
	if len(addrs) == 0 {
		return SpaceAddress{}, false
	}
	return addrs[0], true
}
func ( sas SpaceAddresses ) OneMatchingScope ( getMatcher ScopeMatchFunc ) ( SpaceAddress , bool ) { addrs := sas . AllMatchingScope ( getMatcher ) if len ( addrs ) == 0 { return SpaceAddress { } , false } return addrs [ 0 ] , true }
OneMatchingScope returns the address that best satisfies the input scope
matching function.
OneMatchingScope returns the address that best satisfies the input scope matching function .