cms/app-client/app/helpers/contains.js
author ymh <ymh.work@gmail.com>
Fri, 17 Nov 2017 16:05:03 +0100
changeset 563 41e4eb4d8b82
parent 532 1190ea937f2d
permissions -rw-r--r--
Correct Handle creation and correct permalink

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

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

export default Ember.Helper.helper(contains);