Reflection Module
Converts a union case without fields to its name and a name back to the union case. An unknown name gives None.
Nested modules
| Modules | Description |
|
Holds the Unquote tests of the union case conversion to and from a string. |
Functions and values
| Function or value |
Description
|
Full Usage:
Reflection.fromString s
Parameters:
string
Returns: 'T option
Type parameters: 'T |
Create a union case option from a string value Returns None if the string value does not match a union case
|
Full Usage:
Reflection.toString x
Parameters:
'a
Returns: string
Type parameters: 'a |
Turn a union case to a string value
|
GenPRES