fix: expose isKana

This commit is contained in:
Miwa / Ensan
2025-06-15 19:40:01 +09:00
parent c2c7cbf031
commit 2be71cd98e

View File

@ -41,8 +41,8 @@ extension StringProtocol {
}
///
@usableFromInline
package var isKana: Bool {
@inlinable
public var isKana: Bool {
!isEmpty && range(of: "[^ぁ-ゖァ-ヶ]", options: .regularExpression) == nil
}