Skip to content

fixtureSet

The allowlist of dictionary entries captured in the demo fixtures, so demo views can disable links whose target has no fixture (rather than let a click land on an empty "Nothing Found" page).

Functions

hasKanji()

function hasKanji(literal): boolean;

Defined in: src/demo/fixtureSet.ts:19

Whether a kanji literal has a captured dictionary fixture.

Parameters

Parameter Type
literal string

Returns

boolean


hasWord()

function hasWord(term): boolean;

Defined in: src/demo/fixtureSet.ts:14

Whether a word / wildcard term has a captured dictionary fixture.

Parameters

Parameter Type
term string

Returns

boolean