isAbsolute

expect fun isAbsolute(): Boolean(source)

Tests whether this abstract pathname is absolute.

The definition of absolute pathname is system dependent.

On Unix, a pathname is absolute if its prefix is "/".

On Windows, a pathname is absolute if its prefix is a drive specifier followed by "\\", or if its prefix is "\\\\" (a UNC path).

actual fun isAbsolute(): Boolean(source)