@yamlresume/core
    Preparing search index...

    Function getPair

    • Find a key-value Pair inside a YAML mapping by its path.

      The path is a sequence of mapping keys and sequence indices. The last element is the key whose Pair should be returned.

      Parameters

      • node: unknown
      • path: (string | number)[]

      Returns Pair<Scalar<unknown>, unknown>