discontinuedPackage rust_std has been discontinued and replaced by rust_core.

endsWith method

bool endsWith(
  1. Path other
)

Determines whether other is a suffix of this.

Implementation

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