Function tc

Title cases a single word

  • Parameters

    • word: string

      Word to transform

    Returns string

    Word in title case