IsImage()
Determines whether a variable returns an image.
Requires Extension: Image extension
IsImage( image=any );
Returns: Boolean
Examples
img = imageNew("",100,100,"rgb","pink");
writeDump(var=img, expand=false);
writeDump(isImage(img));
string = "pink";
writeDump(string);
writeDump(isImage(string));
See also
- Image manipulation
- Decision logic
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)