code: func validateEqualArgs(expected, actual interface{}) error {
  	if isFunction(expected) || isFunction(actual) {
  		return errors.New("cannot take func type as argument")
  	}
  	return nil
  }
docs: // validateEqualArgs checks whether provided arguments can be safely used in the
  // Equal/NotEqual functions.