Naev

Module merge_tables

Small helper for merging different tables.

Functions

merge_tables (dest[, src={}]) Merges src table into dest.
merge_tables_recursive (dest[, src={}]) Merges src table into dest recursively.


Functions

merge_tables (dest[, src={}])
Merges src table into dest. Does not recurse into subtables.

Parameters:

  • dest table Destination table. Must not be nil.
  • src table Source table to be merged into dest. (default {})

Returns:

    table Returns dest.
merge_tables_recursive (dest[, src={}])
Merges src table into dest recursively.

Parameters:

  • dest table Destination table. Must not be nil.
  • src table Source table to be merged into dest. (default {})

Returns:

    table Returns dest.
generated by LDoc 1.4.6 Last updated 2022-01-27 18:12:12