This functionality is Sneak Peek status. This means that the APIs may change. We welcome your feedback, ideas, and code, but please use caution if you use this new functionality.
Determine whether an object is any marker, or a particular marker - omit the 2nd argument to detect any marker.
||(Object) The object to evaluation|
||(String) (optional) The type of marker to check for.|
In this example,
arg is examined to determine whether or not it is the special
fluid.COMPONENT_OPTIONS marker before proceeding to carry out some action.