IsDefined

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

IsDefined( value )

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