Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am ookami-san on github.
* I am xopo (https://keybase.io/xopo) on keybase.
* I have a public key ASAsZsvDZXwin1H6M15kG1MWG-Uxh_0JtJfC6Ka59eGLFQo
To claim this, I am signing this object:
// https://github.com/juliangarnier/anime/blob/master/src/index.js
const is = {
arr: a => Array.isArray(a),
obj: a => stringContains(Object.prototype.toString.call(a), 'Object'),
pth: a => is.obj(a) && a.hasOwnProperty('totalLength'),
svg: a => a instanceof SVGElement,
inp: a => a instanceof HTMLInputElement,
dom: a => a.nodeType || is.svg(a),
str: a => typeof a === 'string',