Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: imagefiles - Function Up: images - Module Previous: image.view - Function


is_image - Function



Package general
Module images


Is this variable an image tool ?


Synopsis
is_image(thing)


Arguments

thing in Variable to test
    Allowed: Glish variable
    Default: None



Returns
T or F


Description

Determine if this variable is an image tool. This is very useful in scripts; for robustness, you check that the tool is an Image tool before you start applying Image tool functions.



Example
- im:=image('myimage')              
- is_image(im)
T
- im2 := [10,20]
- is_image(im2)
F





next up previous contents index
Next: imagefiles - Function Up: images - Module Previous: image.view - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01