1
0
Fork 0

chore: Added capitalize method to utils

This commit is contained in:
Joost De Cock 2022-02-07 19:51:08 +01:00
parent ea7ff95790
commit 1066907fd2

View file

@ -74,3 +74,5 @@ export const optionType = option => {
return 'constant'
}
export const capitalize = string => string.charAt(0).toUpperCase() + string.slice(1);