parent
1665c7efec
commit
b24021ebdc
1 changed files with 4 additions and 0 deletions
@ -0,0 +1,4 @@ |
|||||||
|
import { cap } from './cap'; |
||||||
|
|
||||||
|
export const camel = (...[head, ...rest]: string[]): string => |
||||||
|
rest.reduce<string>((previous, part) => `${previous}${cap(part)}`, head); |
Loading…
Reference in new issue