madrobby/zepto — Issue #349: Feature Request: Have a way to determine if an object is wrapped by Zepto
Author: diazruy
Created: 2011-12-02 06:14:15+00:00
State: open

In jQuery, executing the following returns true:

```javascript
$('

') instanceof jQuery //=> true
$('

') instanceof $ //=> true
```
This is useful in Jasmine for example when writing custom matchers where you want to test to see if an object has been wrapped by Zepto. However, in Zepto the following behaviour occurs:

```javascript
$('

') instanceof Zepto //=> false
$('

') instanceof $ //=> false
```

Is it possible to allow comparable behaviour for Zepto?