Initial commit
[yaffs-website] / node_modules / is-gif / index.js
1 'use strict';
2 module.exports = function (buf) {
3         if (!buf || buf.length < 3) {
4                 return false;
5         }
6
7         return buf[0] === 71 &&
8                 buf[1] === 73 &&
9                 buf[2] === 70;
10 };