generic types and "primitive" docs

This commit is contained in:
dfsek
2021-04-25 22:19:11 -07:00
parent 130d9648ee
commit 664995e6eb
6 changed files with 114 additions and 8 deletions

View File

@@ -0,0 +1,5 @@
# Boolean
A Boolean data type represents a logical boolean value, a value which can
be either `true` or `false`.

View File

@@ -0,0 +1,10 @@
# Double
A Double type represents a double-precision floating point value.
Essentially, a Double is a decimal number.
Examples:
* `5`
* `0.3`
* `-12.5`
* `100.3`

View File

@@ -0,0 +1,10 @@
# Integer
An Integer data type represents a Java integer, a whole number with
a minimum value of -2^31, and a maximum value of 2^31-1.
Examples:
* `0`
* `5`
* `-20`
* `123456`

View File

@@ -0,0 +1,15 @@
# List
A List is an ordered collection of objects of a specific type.
Examples:
* ```yml
- "thing"
- "thing 2"
- "thing 3"
```
* ```yml
- 1
- 2
- 3
```

View File

@@ -0,0 +1,13 @@
# String
A String data type represents a string of characters.
Examples:
* `"Hello, World!"`
* ```
A
Multi
Line
String
```
* `"Something"`