UnicodeRange

class UnicodeRange(val start: Int, val endInclusive: Int) : ClosedRange<Int> (source)

A range defined via a start code point and an endInclusive code point, either staying in the Basic Multilingual Plane (BMP) domain (0x0000 - 0xFFFF) or being completely outside of it.

Since

2.0.0

Constructors

Link copied to clipboard
constructor(start: Char, endInclusive: Char)
constructor(start: Int, endInclusive: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val endInclusive: Int
Link copied to clipboard
open override val start: Int

Functions

Link copied to clipboard
open operator fun contains(value: Int): Boolean
Link copied to clipboard

Indicates if this Range is a BMP (Basic Multilingual Plane) or not.

Link copied to clipboard
open fun isEmpty(): Boolean
Link copied to clipboard
open override fun toString(): String