# isCapitalized
> Test if a value is a string having an uppercase first character.
## Usage
```javascript
var isCapitalized = require( '@stdlib/assert/is-capitalized' );
```
#### isCapitalized( value )
Tests if a `value` is a `string` having an uppercase first character.
```javascript
var bool = isCapitalized( 'Every noble work is at first impossible.' );
// returns true
bool = isCapitalized( 'HELLO WORLD!' );
// returns true
bool = isCapitalized( 'salt and light' );
// returns false
```
## Notes
- The function validates that a `value` is a `string`. For all other types, the function returns `false`.
## Examples
```javascript
var isCapitalized = require( '@stdlib/assert/is-capitalized' );
var bool = isCapitalized( 'Hello' );
// returns true
bool = isCapitalized( 'HELLO' );
// returns true
bool = isCapitalized( '' );
// returns false
bool = isCapitalized( 'hello' );
// returns false
```
* * *
## CLI
### Usage
```text
Usage: is-capitalized [options] []
Options:
-h, --help Print this message.
-V, --version Print the package version.
```
### Examples
```bash
$ is-capitalized Beep
true
```
To use as a [standard stream][standard-streams],
```bash
$ echo -n 'boop' | is-capitalized
false
```
[standard-streams]: https://en.wikipedia.org/wiki/Standard_streams