SDLValue

Value of sdlang node

alias SDLValue = sdl.SDLValue

Examples

// Create new value
SDLValue val = SDLValue.double_(22.5);  
// Get value casted to int
val.value!int;
// Check type
val.kind == SDLType.text;

Meta