Browse Source

docs(iscapitalized): fix instructions

pull/1513/head
Tiago Collot 2 years ago committed by Michele
parent
commit
fb53b375fd
  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