Name
LayerExists -- check if specified layer exists (V4.6)
Synopsis
ret = LayerExists(layer$)
Function
This command simply checks whether or not the specified layer exists. Obviously, you must pass a layer name here, not a layer id as layer ids are per se existent.

Inputs
layer$
layer name to check
Results
ret
True if the layer exists, False otherwise

Show TOC