tree:

tree:

This is a collection of functions for working with asynchronous trees, directly exposing the methods of the Tree object in the async-tree library.

For example, Tree exposes a method isTreelike that tests whether a given object is a tree or can be coerced to one. You can invoke this method via tree:isTreelike:

$ ori tree:isTreelike 5
false
$ ori tree:isTreelike { name: "Alice" }
true