toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-node
/
node.fs
/
renameAsync
rename
Async
external
fun
renameAsync
(
oldPath
:
PathLike
,
newPath
:
PathLike
)
:
Promise
<
Void
>
(
source
)
Renames
oldPath
to
newPath
.
Since
v10.0.0
Return
Fulfills with
undefined
upon success.