Skip to content

Commit 5533438

Browse files
committed
Add getType forwarder to CodePoint
1 parent d419ebe commit 5533438

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Base/src/main/scala/CodePoint.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ final class CodePoint private (val intValue:Int) {
1818

1919
def charCount : Int = Character.charCount(intValue)
2020
def name : String = Character.getName(intValue)
21+
def category : Int = Character.getType(intValue)
2122
def isAlphabetic : Boolean = Character.isAlphabetic(intValue)
2223
def isBmp : Boolean = Character.isBmpCodePoint(intValue)
2324
def isDefined : Boolean = Character.isDefined(intValue)

0 commit comments

Comments
 (0)