klyn.MutableString.hash
method
public override hash() as Long
Description

Returns a content hash, equal to the hash of equivalent String text. Mutating the text changes its hash; do not edit keys while they are in a map or set.

Returns

Content hash.

Example
assert m"Klyn".hash() == "Klyn".hash()