@ironarachne/word-generator
    Preparing search index...

    Class default

    Represents a set of word elements.

    1.0.0

    import { WordElementSet } from "@ironarachne/word-generator";

    const set = new WordElementSet("affricates", "a", ["ch", "j"]);
    Index

    Constructors

    Properties

    Constructors

    • Creates a new WordElementSet.

      Parameters

      • name: string

        The name of the set.

      • symbol: string

        The symbol used to represent the set in word patterns.

      • elements: string[]

        The written elements in the set.

      Returns default

    Properties

    elements: string[]

    The string elements (letters or characters) contained in the set.

    name: string

    The name of the set (e.g., "consonants").

    symbol: string

    The single-character symbol used to represent this set in word patterns.