Travis build: 1059
This commit is contained in:
41
README.md
41
README.md
@ -348,6 +348,8 @@ average(1, 2, 3);
|
||||
<summary>View contents</summary>
|
||||
|
||||
* [`indexOfAll`](#indexofall)
|
||||
* [`isLowerCase`](#islowercase)
|
||||
* [`isUpperCase`](#isuppercase)
|
||||
|
||||
</details>
|
||||
|
||||
@ -5165,6 +5167,45 @@ indexOfAll([1, 2, 3], 4); // [-1]
|
||||
<br>[⬆ back to top](#table-of-contents)
|
||||
|
||||
|
||||
### isLowerCase
|
||||
|
||||
Checks if a string is lower case.
|
||||
|
||||
Convert the given string to lower case, using `String.toLowerCase()` and compare it to the original.
|
||||
|
||||
```js
|
||||
const isLowerCase = str => str === str.toLowerCase();
|
||||
```
|
||||
|
||||
```js
|
||||
isLowerCase('abc'); // true
|
||||
isLowerCase('a3@$'); // true
|
||||
isLowerCase('Ab4'); // false
|
||||
```
|
||||
|
||||
<br>[⬆ back to top](#table-of-contents)
|
||||
|
||||
|
||||
### isUpperCase
|
||||
|
||||
Checks if a string is upper case.
|
||||
|
||||
Convert the given string to upper case, using `String.toUpperCase()` and compare it to the original.
|
||||
|
||||
|
||||
```js
|
||||
const isUpperCase = str => str === str.toUpperCase();
|
||||
```
|
||||
|
||||
```js
|
||||
isUpperCase('ABC'); // true
|
||||
isLowerCase('A3@$'); // true
|
||||
isLowerCase('aB4'); // false
|
||||
```
|
||||
|
||||
<br>[⬆ back to top](#table-of-contents)
|
||||
|
||||
|
||||
## Collaborators
|
||||
|
||||
| [<img src="https://github.com/Chalarangelo.png" width="100px;"/>](https://github.com/Chalarangelo)<br/> [<sub>Angelos Chalaris</sub>](https://github.com/Chalarangelo) | [<img src="https://github.com/Pl4gue.png" width="100px;"/>](https://github.com/Pl4gue)<br/> [<sub>David Wu</sub>](https://github.com/Pl4gue) | [<img src="https://github.com/fejes713.png" width="100px;"/>](https://github.com/fejes713)<br/> [<sub>Stefan Feješ</sub>](https://github.com/fejes713) | [<img src="https://github.com/kingdavidmartins.png" width="100px;"/>](https://github.com/kingdavidmartins)<br/> [<sub>King David Martins</sub>](https://github.com/iamsoorena) | [<img src="https://github.com/iamsoorena.png" width="100px;"/>](https://github.com/iamsoorena)<br/> [<sub>Soorena Soleimani</sub>](https://github.com/iamsoorena) |
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@ Checks if a string is lower case.
|
||||
|
||||
Convert the given string to lower case, using `String.toLowerCase()` and compare it to the original.
|
||||
|
||||
``` js
|
||||
```js
|
||||
const isLowerCase = str => str === str.toLowerCase();
|
||||
```
|
||||
|
||||
|
||||
@ -5,11 +5,11 @@ Checks if a string is upper case.
|
||||
Convert the given string to upper case, using `String.toUpperCase()` and compare it to the original.
|
||||
|
||||
|
||||
``` js
|
||||
```js
|
||||
const isUpperCase = str => str === str.toUpperCase();
|
||||
```
|
||||
|
||||
``` js
|
||||
```js
|
||||
isUpperCase('ABC'); // true
|
||||
isLowerCase('A3@$'); // true
|
||||
isLowerCase('aB4'); // false
|
||||
|
||||
@ -77,6 +77,7 @@ isBoolean:type
|
||||
isDivisible:math
|
||||
isEven:math
|
||||
isFunction:type,function
|
||||
isLowerCase:uncategorized
|
||||
isNull:type
|
||||
isNumber:type,math
|
||||
isPrime:math
|
||||
@ -86,6 +87,7 @@ isSorted:array
|
||||
isString:type,string
|
||||
isSymbol:type
|
||||
isTravisCI:node
|
||||
isUpperCase:uncategorized
|
||||
isValidJSON:type,json
|
||||
join:array
|
||||
JSONToFile:node,json
|
||||
|
||||
Reference in New Issue
Block a user