settype

settype -- Set the type of a variable.

Description

int settype(string var, string type);

Set the type of variable var to type.

Possibles values of type are:

Returns true if successful; otherwise returns false.

See also gettype().