Optional
emptyValue to return if the text was only an empty string (after trimming) Defaults to ''. Can be any string or null
Optional
trimDetermines if leading and trailing whitespace is discarded. Defaults to true. Can be 'start' to trim only starting whitespace and 'end' to trim only ending whitespace.
Generated using TypeDoc v0.25.12
Used to configure a parser through the constructor. Note that the constructor will have other values that are either so important and required that explicitly showing them in a parameter makes more sense, or you are creating a base class with options only controlled by the subclasses.