0.1.0 • Published 10 years ago
handlebars-helper-inarray v0.1.0
handlebars-helper-inarray
Handlebars helper. Return true if a value exists in an array. Faster than using indexOf and won't blow up on null values.
Install
Install with npm:
npm i handlebars-helper-inarray --save
Usage
var inArray = require('in-array');
var Handlebars = require('handlebars');
Handlebars.registerHelper('inArray', inArray);
Author
Jon Schlinkert
License
Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license
This file was generated by verb-cli on June 26, 2014.
0.1.0
10 years ago