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. |
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.