Documentation
    Preparing search index...

    Function select

    • Resolve a selector against data.

      Parameters

      • data: unknown

        The data to select from.

      • selector: string

        The selector, e.g. .foo[0].bar.

      Returns { ok: true; value: unknown } | { ok: false }

      ok: false when the selector can't be resolved.

      If the selector is not valid syntax.