mirror of https://github.com/hashicorp/consul
8 lines
178 B
JavaScript
8 lines
178 B
JavaScript
|
import { helper } from '@ember/component/helper';
|
||
|
|
||
|
export function split([array = [], separator = ','], hash) {
|
||
|
return array.split(separator);
|
||
|
}
|
||
|
|
||
|
export default helper(split);
|