• Given a value aVal, returns a tree constituted of a single leaf labeled by aVal and an empty array of children that is evaluated.

    Parameters

    • aVal: any

      a value for the leaf

    Returns TreeIL<any>

    a tree with a single leaf