Merge commit '13e64d72763bf8d6d92d4cdfc15ed45ee9debfab'

This commit is contained in:
Bjørn Erik Pedersen
2018-09-14 08:35:23 +02:00
48 changed files with 566 additions and 350 deletions

View File

@@ -22,7 +22,7 @@ aliases: []
needsexamples: false
---
`default` checks whether a given value is set and returns a default value if it is not. *Set* in this context means different things depending on date type:
`default` checks whether a given value is set and returns a default value if it is not. *Set* in this context means different things depending on the data type:
* non-zero for numeric types and times
* non-zero length for strings, arrays, slices, and maps