Module gfx.core.typecons

Functions

NameDescription
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

NameDescription
Option

Manifest constants

NameTypeDescription
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