Variable castConst

The global cast API.