Source Academy Modules
    Preparing search index...

    Function create_config

    • Transforms the given list of pairs into an object config. The list follows the format of list(pair(key1, value1), pair(key2, value2), ...).

      e.g list(pair("alpha", 0), pair("duration", 1000))

      Parameters

      • lst: List

        the list to be turned into object config.

      Returns ObjectConfig

      object config