cast (value) {
        return this.castOut(value);
    }
Typecasts a value to the {@link Variable.types} of this {@link Variable}. Returns the value of the variable
converted to the type specified in {@link Variable#type}.

@param {*} value -
@returns {*}