join_text_list

function join_text_list(components: list<text>, count: integer): text(source)

Utility function that builds a mount scope given all the parts of it and a number indicating the depth. Example: join_text_list(["a", "b", "c"], 2) outputs "a.b"

Throws "INPUT ERROR" if:

  • count is 0, or

  • count is greater or equal to the components size

Parameters

components

the components of the mount name

count

the depth of the new mount name to return