UNPKG

tastypie

Version:

Tastypie is a webservice API framework for Node.js based on Django's Tastypie Framework. It provides a convenient, yet powerful and highly customizable, abstraction for creating REST-style interfaces

11 lines (9 loc) 199 B
define(['./indexOf'], function (indexOf) { /** * If array contains values. */ function contains(arr, val) { return indexOf(arr, val) !== -1; } return contains; });