Skip to content

Initializer

init(labels:)

Create an ltree from its labels, from the root to the leaf.
init(labels: [String])

Parameters

labels

The labels making up the path, e.g. ["Top", "Science", "Astronomy"].