require("vtree-select")(selector [, options]) -> match
Create a match function that takes a vtree and returns an array of nodes
that match the selector.
options.caseSensitiveTag enables case sensitivity for tag names. This
is useful for XML, which has case-sensitive tag names. HTML tag names
are not case sensitive.
match(vtree) -> array
Returns an array of matched nodes, or null if no nodes match.
Unlike css and querySelectorAll, text nodes are matched and
returned.
Selectors are case-sensitive.
match.matches(vtree) -> boolean
Returns true if the vtree matches the selector, or false otherwise.