I have code that reused on different feature classes that does a basic intersects functionality to retrieve field values and insert into the $feature. Yet the code should by pass some functions if $feature is a point feature class verses $feature being a polygon feature. Is this possible?
if (Geometry($feature)== "point"){
# do this
}
if (Geometry($feature)== "polygon"){
# do that
}
Something to that effect.
Thanks in advance
~JS