Skip to content

StringKey

1 min read

No import is needed.

Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.

StringKey

A Map/Set key that can be found by a ReadOnlySpan<char> without building a string.

public interface StringKey

matches_span

Returns whether this value equals the supplied text view.

fun matches_span(borrow other: ReadOnlySpan<char>): bool