• Given a value aVal, returns a tree constituted of a single leaf labeled by aVal and no children.

    Parameters

    • aVal: any

      a value for the leaf

    Returns TreeI<any>

    a tree with a single leaf