open-vault/ui/app/helpers/includes.js

8 lines
160 B
JavaScript
Raw Normal View History

2018-04-03 14:16:57 +00:00
import Ember from 'ember';
export function includes([haystack, needle]) {
return haystack.includes(needle);
}
export default Ember.Helper.helper(includes);