Skip to content
greek conversion

parseDetailed

parseDetailed(input, format, options?): ParseResult

Defined in: src/conversion.ts:125 (opens in a new tab)

parse, with the position of each token in the input.

Positions are offsets in UTF-16 code units, the unit of String.length, slice() and editor selections, in the input exactly as supplied: the reader normalizes the text, but the spans are mapped back to the caller’s string.

string

Format

ConversionOptions | PreparedOptions = {}

ParseResult

If input is not a string.

If format is not supported or an option is invalid.