truncatedTo

fun truncatedTo(length: Int): Geohash(source)

Returns the enclosing cell whose address has length characters.

Returns this cell when length equals this cell's length.

Throws

if length is outside 1..this.length.