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)

checks if stored value can be converted to given "to" type.

convertTo
void[] convertTo(TypeInfo to)

converts stored value to given "to" type and returns 1el array of target type vals. conversion must be defined.

type
TypeInfo type()

returns stored typeinfo

Meta