Skip to content

peelToTree

Peel a reference to a tree.

This method recursively peels the reference until it reaches a tree.

Signature

ts
class Reference {
  peelToTree(): Tree;
}

Returns

  • Tree

    Peeled Tree of this reference.

Released under the MIT License.