MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / toCamelCase

Function toCamelCase

lib/utils.js:280–287  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

278}
279
280export const toCamelCase = function (name) {
281 if (typeof name !== 'string') {
282 return name
283 }
284 return name.replace(/-(\w)/gi, (_word, letter) => {
285 return letter.toUpperCase()
286 })
287}
288
289function convertFontWeightToNumber(name) {
290 const fontWeightPatterns = [

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected