docs: function isPartialOfCase(testString, stringToRank, caseRanking) {
    const testIndex = testString.toLowerCase().indexOf(stringToRank.toLowerCase())
  
    switch (caseRanking) {
      case caseRankings.SNAKE:
        return testString[testIndex - 1] === '_'
      case caseRankings.KEBAB:
        return testString[testIndex - 1] === '-'
      case caseRankings.PASCAL:
      case caseRankings.CAMEL:
        return (
          testIndex !== -1 &&
          testString[testIndex] === testString[testIndex].toUpperCase()
        )
      default:
        return false
    }
  }