cms/app-client/app/helpers/contains.js
author ymh <ymh.work@gmail.com>
Sat, 10 Jun 2017 17:57:34 +0200
changeset 533 a557802f2b12
parent 532 1190ea937f2d
permissions -rw-r--r--
Make guzzle client use the proxy configuration when injected by the ioc

import Ember from 'ember';
import _ from 'lodash';

export function contains(params) {
    return _.includes(params[0], params[1]);
}

export default Ember.Helper.helper(contains);