- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for mergeConditional (0.1 sec)
-
operator/pkg/tpath/tree.go
nc.Node = vv default: return false, fmt.Errorf("don't know about type %T", parentNode) } return true, nil } // mergeConditional returns a merge of newVal and originalVal if merge is true, otherwise it returns newVal. func mergeConditional(newVal, originalVal any, merge bool) (any, error) { if !merge || util.IsValueNilOrDefault(originalVal) { return newVal, nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 17.5K bytes - Viewed (0)