toNamespacedPath
toNamespacedPath()
Converts a path to a namespace-prefixed path.
This method variant accepts a string path and returns a string path.
Return
The converted path.
Parameters
path
The path to convert.
toNamespacedPath()
Converts a path to a namespace-prefixed path.
This method variant accepts a Path object and returns a String.
Return
The converted path as a string.
Parameters
path
The path to convert.
toNamespacedPath()
Converts a path to a namespace-prefixed path.
This method variant accepts a NodePath object and returns a String.
Return
The converted path as a Node path.
Parameters
path
The path to convert.