Browse Source

docs(iscapitalized): fix instructions

DEV-3384-new-go-exercise-is-capitalaze
Tiago Collot 2 years ago
parent
commit
6f7075ff99
  1. 2
      subjects/iscapitalized/README.md

2
subjects/iscapitalized/README.md

@ -2,7 +2,7 @@
### Instructions
Write a function `IsCapitalized` that takes a `string` as an argument and returns `true` if each word in the `string` begins with either an uppercase letter or a non-alphabetic character.
Write a function `IsCapitalized()` that takes a `string` as an argument and returns `true` if each word in the `string` begins with either an uppercase letter or a non-alphabetic character.
- If any of the words begin with a lowercase letter return `false`.
- If the `string` is empty return `false`.

Loading…
Cancel
Save