glyphOrAscii function

String glyphOrAscii (String glyph, String alternative)

Returns glyph if Unicode glyph are allowed, and alternative if they aren't.

Implementation

String glyphOrAscii(String glyph, String alternative) =>
    glyphs.glyphOrAscii(glyph, alternative);