a1bebaba4a
This adds the component but doesn't yet use it anywhere. No tests are added here as there isn't an awful lot to test.
8 lines
192 B
JavaScript
8 lines
192 B
JavaScript
import { helper } from '@ember/component/helper';
|
|
|
|
export function startsWith([needle, haystack = ''] /*, hash*/) {
|
|
return haystack.startsWith(needle);
|
|
}
|
|
|
|
export default helper(startsWith);
|