Skip to content

Commit

Permalink
docs: Update merge function
Browse files Browse the repository at this point in the history
Updates for #7601
  • Loading branch information
moorereason authored and bep committed Sep 7, 2020
1 parent c0655ba commit f50ee6b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/content/en/functions/merge.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,16 @@ menu:
docs:
parent: "functions"
keywords: [dictionary]
signature: ["$params := merge $default_params $user_params"]
signature: ["collections.Merge MAP MAP...", "merge MAP MAP..."]
workson: []
hugoversion: "0.56.0"
relatedfuncs: [dict, append, reflect.IsMap, reflect.IsSlice]
aliases: []
---

Merge creates a copy of the final `MAP` and merges any preceeding `MAP` into it in reverse order.
Key handling is case-insensitive.

An example merging two maps.

```go-html-template
Expand Down

0 comments on commit f50ee6b

Please sign in to comment.