Stone.js API
Docs
Home
Preparing search index...
stone-js-validation/src/declarations
ValidationResult
Type Alias ValidationResult<T>
ValidationResult
:
|
{
issues
?:
undefined
;
success
:
true
;
value
:
T
}
|
{
issues
:
ValidationIssue
[]
;
success
:
false
;
value
?:
undefined
}
The outcome of validating a value against a schema. Never throws — inspect
success
.
Type Parameters
T
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Docs
Home
Stone.js API
Loading...
The outcome of validating a value against a schema. Never throws — inspect
success.