W3cubDocs

/Angular

ParseResult

Result of parsing a raw value into a model value.

API

interface ParseResult<TValue> {
  readonly value?: TValue | undefined;
  readonly error?: OneOrMany<WithoutFieldTree> | undefined;
}

value

TValue | undefined

The parsed value. If omitted, the model is not updated.

error

OneOrMany<WithoutFieldTree> | undefined

Errors encountered during parsing, if any.

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/forms/signals/ParseResult