IS_ABSOLUTE is path absolute
- Windows, absolute paths must be at least 3 character long, starting with a root name followed by a slash
- non-Windows, absolute paths must start with a slash
function y = is_absolute(p) arguments p string end y = false(size(p)); i = ~stdlib.strempty(stdlib.root_dir(p)); y(i) = true; if ispc() y(i) = ~stdlib.strempty(stdlib.root_name(p(i))); end end