// Eq returns true if the left Uint16Element is equal to the right Uint16Element.
// When both are nil Eq returns false because nil actualy signifies "unknown"
// and you can't compare two things when you don't know what they are.
Eq returns true if the left Uint16Element is equal to the right Uint16Element.
When both are nil Eq returns false because nil actualy signifies "unknown"
and you can't compare two things when you don't know what they are.
// Eq returns true if the left Uint16Element is equal to the right Uint16Element . // When both are nil Eq returns false because nil actualy signifies " unknown " // and you can ' t compare two things when you don ' t know what they are .
func (e Uint16Element) Eq(r Element) (bool, error) {
	if e.IsNil() && r.IsNil() {
		return false, nil
	}
	return e.compare(r, func(left, right uint16) bool {
		return left == right
	})
}
func ( e Uint16Element ) Eq ( r Element ) ( bool , error ) { if e . IsNil ( ) && r . IsNil ( ) { return false , nil } return e . compare ( r , func ( left , right uint16 ) bool { return left == right } ) }
Eq returns true if the left Uint16Element is equal to the right Uint16Element.
Eq returns true if the left Uint16Element is equal to the right Uint16Element .