Skip to content

Commit

Permalink
update main function name
Browse files Browse the repository at this point in the history
  • Loading branch information
jlozovei committed Apr 30, 2020
1 parent a26629b commit 4462d52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import convert from './src/convert';

const numbersToWords = (params) => {
const fullNumbers = (params) => {
const isObj = typeof params === 'object';
const value = isObj ? params.value : params;
const hasCurrencyObj = isObj && params.hasOwnProperty('currency');
Expand All @@ -15,4 +15,4 @@ const numbersToWords = (params) => {
return convert(options);
};

export default numbersToWords;
export default fullNumbers;

0 comments on commit 4462d52

Please sign in to comment.