IsDefined()

Evaluates a string value to determine whether the variable named in it exists.

Status:

deprecated

IsDefined( value=string );

Returns: Boolean

Argument Description
value
string, required

String, enclosed in quotation marks. Name of variable to test for.

Alias: variable

Examples

//using isDefined with condition statement
if(isDefined("form.reset")){
	//Code to be Executed
}
str={};
str.value="test";
writeDump(isDefined("str.value"));//true

See also