@webdeveric/utils
    Preparing search index...

    Function getOwnPaths

    • Get all own property paths of input, including dot-separated paths for nested objects.

      Type Parameters

      Parameters

      Returns Path<Type>[]

      getOwnPaths({ a: 1, b: { c: 2 } }); // ['a', 'b', 'b.c']