budibase/packages/standard-components/src/helpers.js

2 lines
80 B
JavaScript
Raw Normal View History

export const capitalise = s => s.substring(0, 1).toUpperCase() + s.substring(1)