For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

startsWith

Determines if this path starts with the given path.

Return

True if this path starts with the given path, false otherwise. Returns false if one path is absolute and the other is not.

Since

9.1.0

Parameters

other

The path to check if this path starts with.