mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Merge branch 'main' into headless-mode
This commit is contained in:
commit
60f2303137
3 changed files with 21 additions and 0 deletions
|
|
@ -10,6 +10,12 @@ table.copy(t: table) -> table
|
|||
|
||||
Создаёт и возвращает копию переданной таблицы путём создания новой и копирования в неё всех элементов из переданной.
|
||||
|
||||
```lua
|
||||
table.deep_copy(t: table) -> table
|
||||
```
|
||||
|
||||
Функция глубокого копирования создает полную копию исходной таблицы, включая все её вложенные таблицы.
|
||||
|
||||
```lua
|
||||
table.count_pairs(t: table) -> integer
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue