mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 06:28:54 +00:00
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:
1 parent
74227cc262
commit
1d2c490b26
95 files changed
+2167
-2289
No files matched your search
@@ -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`
|
||||
|
||||
|
||||
Reference in new issue
Block a user