Instance MethodSwiftFoundation

    lastRange(of:in:)

    Returns the last found range of the given data buffer.

    func lastRange<D, R>(of data: D, in range: R) -> Range<Self.Index>? where D : DataProtocol, R : RangeExpression, Self.Index == R.Bound

    Overview

    A default implementation is given in terms of self.regions.