discontinuedPackage rust_std has been discontinued and replaced by rust_core.

startsWith method

bool startsWith(
  1. Path other
)

Determines whether other is a prefix of this.

Implementation

bool startsWith(Path other) => string.startsWith(other.string);