Represents a set of word elements.
1.0.0
import { WordElementSet } from "@ironarachne/word-generator";const set = new WordElementSet("affricates", "a", ["ch", "j"]); Copy
import { WordElementSet } from "@ironarachne/word-generator";const set = new WordElementSet("affricates", "a", ["ch", "j"]);
Creates a new WordElementSet.
The name of the set.
The symbol used to represent the set in word patterns.
The written elements in the set.
The string elements (letters or characters) contained in the set.
The name of the set (e.g., "consonants").
The single-character symbol used to represent this set in word patterns.
Represents a set of word elements.
Since
1.0.0
Example