open-vault/ui/app/helpers/includes.js
2018-04-03 09:16:57 -05:00

8 lines
160 B
JavaScript

import Ember from 'ember';
export function includes([haystack, needle]) {
return haystack.includes(needle);
}
export default Ember.Helper.helper(includes);