(extPropValue any)
| 60 | } |
| 61 | |
| 62 | func extParseOmitEmpty(extPropValue any) (bool, error) { |
| 63 | omitEmpty, ok := extPropValue.(bool) |
| 64 | if !ok { |
| 65 | return false, fmt.Errorf("failed to convert type: %T", extPropValue) |
| 66 | } |
| 67 | return omitEmpty, nil |
| 68 | } |
| 69 | |
| 70 | func extParseOmitZero(extPropValue any) (bool, error) { |
| 71 | omitZero, ok := extPropValue.(bool) |
no outgoing calls
no test coverage detected