Scoop API

scoop:scoop.core:0.1.0

Char

struct Char

source · line 6
public
public struct Char : Compare<Char>, Equals<Char>, ToString, Hash, RangeTo<Char, CharRange>, RangeUntil<Char, CharRange>

One Unicode scalar value. Surrogates are excluded; a Char is neither a UTF-8 byte nor a grapheme cluster.

function toString

source · line 56
public
public override fun toString(): String

Encodes this one scalar as a UTF-8 string.

function hash

source · line 60
public
public override fun hash(): Long
  • Overrides hash · Hash

Returns the Unicode scalar number as a Long.