Skip to content

isAsynchronous

dataParser.isAsynchronous() tells whether a parser (or nested parsers) requires async execution before parsing. It does not run any validation.

Interactive example

Parameters

None.

Return value

A boolean: true when the parser needs async execution, otherwise false.

See also

  • transform - Transform a parsed value (sync or async)
  • pipe - Compose multiple parsers into a pipeline

Released under the MIT license.