EDIT Snap.is

master
Mike Sierra 2013-10-09 17:33:57 -04:00
parent 69e8c0edb7
commit 4c7a9a95ee
1 changed files with 2 additions and 2 deletions

View File

@ -309,10 +309,10 @@ Snap.angle = angle;
* Snap.is
[ method ]
**
* Handfull replacement for `typeof` operator.
* Handy replacement for the `typeof` operator.
- o () any object or primitive
- type (string) name of the type, e.g., `string`, `function`, `number`, etc.
= (boolean) is given value is of given type
= (boolean) if given value is of given type
\*/
Snap.is = is;
/*\