getValueArg returns a space-trimmed and unquoted version of val. Returns the cleaned string, otherwise empty string and an error.
(val string)
| 1691 | // getValueArg returns a space-trimmed and unquoted version of val. |
| 1692 | // Returns the cleaned string, otherwise empty string and an error. |
| 1693 | func getValueArg(val string) (string, error) { |
| 1694 | return unquoteIfQuoted(strings.TrimSpace(val)) |
| 1695 | } |
| 1696 | |
| 1697 | func validFuncName(name string) bool { |
| 1698 | if isGeoFunc(name) || IsInequalityFn(name) { |
no test coverage detected