Make an object support the Observable API.
Adds on()
, off()
, one()
, and trigger()
methods.
- Source:
Methods
(static) is(obj) → {boolean}
See if a value implements the Observable interface.
Parameters:
Name | Type | Description |
---|---|---|
obj |
* | The expected object/function to test. |
- Source:
Returns:
- Type
- boolean