This documentation refers to the current trunk of the Infusion code and is being updated to reflect ongoing changes. As a result, it may contain information that is not relevant to the latest release, 1.4. For documentation related to v1.4 and earlier, please see the Infusion v1.4 Documentation
Skip to end of metadata
Go to start of metadata
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.

fluid.isMarker(toTest, type)

Determine whether an object is any marker, or a particular marker - omit the 2nd argument to detect any marker.

File name: Fluid.js

Parameters

toTest (Object) The object to evaluation
type (String) (optional) The type of marker to check for.

Return Value

Boolean

See Also

  • [fluid.marker]
  • [fluid.COMPONENT_OPTIONS]
  • [fluid.VALUE]

Example

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.

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.