Dynamic

This is a very very simple class for storing a variable regardless of it's size and type

Members

Functions

canConvertTo
bool canConvertTo(TypeInfo to)

returns true if variable held by dynamic is convertible to given type

convertTo
void[] convertTo(TypeInfo to)

converts stored value to given "to" type and returns 1el array of target type vals or null when conversion failed

type
TypeInfo type()

returns stored typeinfo

Meta