Module utils

Utils Module This module has things that are util

Functions

validate (params) Validate types
merge_tables (defaults, opts) Merge tables
serialize_config (config, config_type) Serialize the configuration table into a formatted string


Functions

validate (params)
Validate types

Parameters:

  • params (table) Parameters list (e.g., {options = { options, "table", true }})
merge_tables (defaults, opts)
Merge tables

Parameters:

  • defaults (table) Default List
  • opts (table) User options
serialize_config (config, config_type)
Serialize the configuration table into a formatted string

Parameters:

  • config (table) The configuration table to serialize
  • config_type (string) Representing the type or name of the configuration (e.g., "config")

Returns:

    string Returns the serialized table
generated by LDoc 1.5.0 Last updated 2024-11-02 18:05:12