Gimp.Path.parse

function parse(path: String, max_paths: Number(gint), check: Boolean): [return_value: Array(String), check_failed: Array(String)] {
    // Gjs wrapper for gimp_path_parse()
}
  
path

A list of directories separated by #G_SEARCHPATH_SEPARATOR.

max_paths

The maximum number of directories to return.

check

true if you want the directories to be checked.

return_value

A GLib.List of all directories in path.

check_failed

Returns a GLib.List of path elements for which the check failed.