Convert
Namespace: Saon
Provide useful conversion functions.
Functions and values
Function or value | Description |
stringToDateTimeOffset(...)
Signature: parse:(string -> bool * (type)) -> propName:string -> value:string -> ParserResult<(type)>
|
Convert from string to DateTimeOffset using |
stringToDateTimeOffsetISO8601
Signature: Transformer<string,(type)>
|
Convert from string to DateTimeOffset, the date is formatted as ISO8601. |
stringToDecimal propName value
Signature: propName:string -> value:string -> ParserResult<decimal>
|
Convert from string to decimal. |
stringToGuid propName value
Signature: propName:string -> value:string -> ParserResult<(type)>
|
Convert from a string to a Guid |
withFunction func arg2 value
Signature: func:('T -> 'R) -> string -> value:'T -> ParserResult<'R>
Type parameters: 'T, 'R |
Convert |