DynamicT

Members

Functions

convertTo
void[] convertTo(TypeInfo to)
data
T data()
opEquals
bool opEquals(Object object)

two dynamics are equal when they store same type and the values pass opEquals

toHash
size_t toHash()
toString
string toString()
type
TypeInfo type()

Inherited Members

From Dynamic

type
TypeInfo type()

returns stored typeinfo

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

canConvertTo
bool canConvertTo(TypeInfo to)

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

Meta