134. Map

Map manipulation routines

134.1. Summary of Module Globals

List of Global Functions

  • CheckKeys - Check if a map contains all needed keys

  • FromString - Convert string "var=val ..." to map $[val:var, ...]

  • Keys - Return all keys from the map

  • KeysToLower - Switch map keys to lower case

  • KeysToUpper - Switch map keys to upper case

  • ToString - Convert options map $[var:val, ...] to string "var=val ..."

  • Values - Return all values from the map

List of Global Variables

    134.2. Global Functions

    134.2.1. CheckKeys

    Check if a map contains all needed keys

    Function parameters

    • map m

    • list keys

    Return value

    • boolean - true if map kontains all keys

    134.2.2. FromString

    Convert string "var=val ..." to map $[val:var, ...]

    Function parameters

    • string s

    Return value

    • map - converted string

    134.2.3. Keys

    Return all keys from the map

    Function parameters

    • map m

    Return value

    • list - a list of all keys from the map

    134.2.4. KeysToLower

    Switch map keys to lower case

    Function parameters

    • map<string, any> m

    Return value

    • map - with keys converted to lower case

    134.2.5. KeysToUpper

    Switch map keys to upper case

    Function parameters

    • map<string, any> m

    Return value

    • map - with keys converted to lower case

    134.2.6. ToString

    Convert options map $[var:val, ...] to string "var=val ..."

    Function parameters

    • map m

    Return value

    • string - converted map

    134.2.7. Values

    Return all values from the map

    Function parameters

    • map m

    Return value

    • list - a list of all values from the map

    134.3. Global Variables

    134.4. Module Requirements

    134.4.1. Module Imports

    • String

    134.4.2. Module Includes