@codewell/is-image
v0.0.1
Published
Determine if an object is an image
Downloads
2
Readme
@codewell/is-image
Determine if an object is an image
Installation
npm install @codewell/is-image
Basic usage
import isImage from '@codewell/isImage';
const img = new Image();
isImage(img); // => true
isImage({}); // => false