Changed date -> data
This commit is contained in:
Nick-Rivera authored and Bjørn Erik Pedersen committed 2018-09-11 08:13:35 +02:00
1 parent 0a671bc375
commit c4348636a6
1 file changed
+1 -1
+1 -1
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