Module:Util/doc

This is the documentation page for Module:Util


This is a meta module.
This module is meant to be used only by other modules. It should not be invoked in wikitext.

Overview

Provides utility functions for programming modules.

Structure

Group Function Description
string trim Trim whitespaces and tabs from a string.
trimend Trim whitespaces and tabs from the end of a string.
split Splits a string into a table.
table deepcopy Copy table and all subtables. (Deep-copy)
merge Recursively merges and/or deep-copies tables.

Usage

This module should be loaded with require().