mirror of
https://github.com/mii443/AzooKeyKanaKanjiConverter.git
synced 2025-08-22 15:05:26 +00:00
fix: expose isKana
This commit is contained in:
@ -41,8 +41,8 @@ extension StringProtocol {
|
||||
}
|
||||
|
||||
/// 仮名か
|
||||
@usableFromInline
|
||||
package var isKana: Bool {
|
||||
@inlinable
|
||||
public var isKana: Bool {
|
||||
!isEmpty && range(of: "[^ぁ-ゖァ-ヶ]", options: .regularExpression) == nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user