IsImage()

Determines whether a variable returns an image.

Requires Extension: Image extension

IsImage( image=any );

Returns: Boolean

Argument Description
image
any, required

The variable that is checked.

Alias: value, object, name

Examples

img = imageNew("",100,100,"rgb","pink");
	writeDump(var=img, expand=false);
	writeDump(isImage(img));
	string = "pink";
	writeDump(string);
	writeDump(isImage(string));

See also