Gjallarhorn


ValidationResult

Namespace: Gjallarhorn

Defines a validation result

Union Cases

Union CaseDescription
Invalid(errors)
Signature: string list

Value is invalid with a list of error messages

Valid
Signature:

Value is valid

Instance members

Instance memberDescription
IsValidResult
Signature: bool

Check to see if we're in a valid state

CompiledName: get_IsValidResult

ToList(forceOutput)
Signature: forceOutput:bool -> List<string>

Convert to a list of strings. If forceOutput is true, the list will have a single, empty string in valid cases

Fork me on GitHub