Util(item, options, goodKeys)

A boilerplate class to be used for various parts of the speech.

new Util(item, options, goodKeys)

Constructs the item.
Parameters:
Name Type Description
item string The item.
options object The options to be accounted.
goodKeys ?Array The array of good keys.
Author:
  • Samplasion

Methods

toObject() → {object}

Returns an object representation of the class.
Returns:
object

toString()

Requi red toString() method
Returns:
- string The item defined in the constructor.