path.is_relative

path.is_relative

path.is_relative

功能

判断路径是否为相对路径。

语法

参数

无。

返回值

类型说明
Bool相对路径返回 true。

代码示例

注意事项

  • 判断规则跟随当前操作系统。