github.com/outbrain/consul@v1.4.5/ui-v2/app/helpers/right-trim.js (about)

     1  import { helper } from '@ember/component/helper';
     2  
     3  import rightTrim from 'consul-ui/utils/right-trim';
     4  
     5  export default helper(function([str = '', search = ''], hash) {
     6    return rightTrim(str, search);
     7  });