mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-20 15:20:25 +00:00
more default docs.
This commit is contained in:
17
common/src/tectonic/resources/Map.md
Normal file
17
common/src/tectonic/resources/Map.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# Map
|
||||
|
||||
A map is a data structure that "maps" one type (keys) to another (values).
|
||||
|
||||
Examples:
|
||||
* Mapping [Strings](./String) to [Strings](./String)
|
||||
```yml
|
||||
a: "thing"
|
||||
b: "thing 2"
|
||||
c: "thing 3"
|
||||
```
|
||||
* Mapping [Strings](./String) to [Integers](./Integer)
|
||||
```yml
|
||||
a: 1
|
||||
b: 2
|
||||
c: 3
|
||||
```
|
||||
Reference in New Issue
Block a user