Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 10 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import compose from 'compose-function'; |
||
2 | |||
3 | import reserveName from './reserve-name'; |
||
4 | |||
5 | const reserveNameCompose = (...args) => { |
||
6 | const enhancedArgs = args.map(arg => reserveName(arg)); |
||
7 | return compose(...enhancedArgs); |
||
8 | }; |
||
9 | |||
10 | export default reserveNameCompose; |
||
11 |