Reference · Marking, scores and game rules
isSmallfunction
Whether this kana is one of the supported small forms.
Import it
import { isSmall } from "@johnmorrisdotca/kotoba";
Definition
function isSmall(kana: string): boolean
Parameters
| Name | Type | Description |
|---|---|---|
kana | string | One kana character, including supported small or voiced forms. |
Returns
boolean
Whether this kana is one of the supported small forms.
Examples
import { isSmall } from "@johnmorrisdotca/kotoba";
console.log(isSmall("っ"));trueWhat it prints (run when this page was built)