@webdeveric/utils
    Preparing search index...

    Function pathParts

    • Yield each part of input, splitting a string path on non-word characters.

      Parameters

      • input: PropertyKey

      Returns Generator<PropertyKey>

      [...pathParts('a.b[0]')]; // ['a', 'b', '0']