How to check if a path is absolute or relative

前端 未结 0 1619
时光说笑
时光说笑 2021-02-11 23:39

UNIX absolute path starts with \'/\', whereas Windows starts with alphabet \'C:\' or \'\\\'. Does node.js has a standard multiplatform function to check if a path is absolute or

相关标签:
回答
  • 消灭零回复
提交回复
热议问题