Reference · Marking, scores and game rules
IdiomKindtype
Whose judgement put a phrase on the list: "idiom" is JMdict's own, an entry it marks idiomatic; "expression" is
this package's rule, for set phrases JMdict files as plain expressions (鼻が高い, "proud").
Import it
import type { IdiomKind } from "@johnmorrisdotca/kotoba";
Definition
type IdiomKind = "idiom" | "expression";
Examples
import type { IdiomKind } from "@johnmorrisdotca/kotoba";
const kind: IdiomKind = "idiom";
console.log(kind);idiomWhat it prints (run when this page was built)