VarDeclaration.getConstInitializer

If variable has a constant expression initializer, get it. Otherwise, return null.

class VarDeclaration
extern (D) final
getConstInitializer
(
bool needFullType = true
)
Suggestion Box / Bug Report