8 lines
160 B
JavaScript
8 lines
160 B
JavaScript
import Ember from 'ember';
|
|
|
|
export function includes([haystack, needle]) {
|
|
return haystack.includes(needle);
|
|
}
|
|
|
|
export default Ember.Helper.helper(includes);
|