path.is_absolute

path.is_absolute

path.is_absolute

功能

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

语法

参数

无。

返回值

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

代码示例

注意事项

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