@jiway/firestorm-core - v1.1.1
    Preparing search index...

    Function coerceToPath

    • Converts the given object to path.

      Unlike Path.fromPathLike, it returns the same path object if the object was already a path.

      Parameters

      • pathLike: PathLike | undefined

        Object to convert

      Returns Path

      The path built