Module gfx.core.typecons
Functions
| Name | Description |
|---|---|
ifNone(opt)
|
execute fun without parameter if option isNone |
ifSome(opt)
|
execute fun with option value as parameter if option isSome |
option(input)
|
|
some(val)
|
constructs an option from a value |
Structs
| Name | Description |
|---|---|
Option
|
Manifest constants
| Name | Type | Description |
|---|---|---|
isNullAssignable
|
template that resolves to true if an object of type T can be assigned to null | |
isOption
|
||
none
|
symbolic value that constructs an Option in none state |