refactor: Add h1 headers to all pages missing it (#137)

* refactor: Add h1 headers to all pages missing it

* refactor: missed example h3

* change hooks example heading to bold text

---------

Co-authored-by: Luke <[email protected]>
This commit is contained in:
JagandLuke authored and GitHub committed 2023-07-08 11:08:43 +02:00
1 parent 74227cc262
commit 1d2c490b26
95 files changed
+2167 -2289

No files matched your search

+7 -5
View File
@@ -1,13 +1,15 @@
Adds additional functions alongside the standard table library
# Shared
Adds additional functions alongside the standard table library.
## lib.table.contains
Checks if `table` contains the given `value`. Only intended for simple values and unnested tables.
```lua
lib.table.contains(tbl, value)
```
Checks if `table` contains the given `value`. Only intended for simple values and unnested tables.
- tbl: `table`
- value: `any`
@@ -16,12 +18,12 @@ Return:
## lib.table.matches
Compares if two values are equal, iterating over tables and matching both keys and values.
```lua
lib.table.matches(tableOne, tableTwo)
```
Compares if two values are equal, iterating over tables and matching both keys and values.
- tableOne: `table`
- tableTwo: `table`