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>
|
<summary>View contents</summary>
|
||||||
|
|
||||||
* [`indexOfAll`](#indexofall)
|
* [`indexOfAll`](#indexofall)
|
||||||
|
* [`isLowerCase`](#islowercase)
|
||||||
|
* [`isUpperCase`](#isuppercase)
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
@ -5165,6 +5167,45 @@ indexOfAll([1, 2, 3], 4); // [-1]
|
|||||||
<br>[⬆ back to top](#table-of-contents)
|
<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
|
## 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) |
|
| [<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.
|
Convert the given string to lower case, using `String.toLowerCase()` and compare it to the original.
|
||||||
|
|
||||||
``` js
|
```js
|
||||||
const isLowerCase = str => str === str.toLowerCase();
|
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.
|
Convert the given string to upper case, using `String.toUpperCase()` and compare it to the original.
|
||||||
|
|
||||||
|
|
||||||
``` js
|
```js
|
||||||
const isUpperCase = str => str === str.toUpperCase();
|
const isUpperCase = str => str === str.toUpperCase();
|
||||||
```
|
```
|
||||||
|
|
||||||
``` js
|
```js
|
||||||
isUpperCase('ABC'); // true
|
isUpperCase('ABC'); // true
|
||||||
isLowerCase('A3@$'); // true
|
isLowerCase('A3@$'); // true
|
||||||
isLowerCase('aB4'); // false
|
isLowerCase('aB4'); // false
|
||||||
|
|||||||
@ -77,6 +77,7 @@ isBoolean:type
|
|||||||
isDivisible:math
|
isDivisible:math
|
||||||
isEven:math
|
isEven:math
|
||||||
isFunction:type,function
|
isFunction:type,function
|
||||||
|
isLowerCase:uncategorized
|
||||||
isNull:type
|
isNull:type
|
||||||
isNumber:type,math
|
isNumber:type,math
|
||||||
isPrime:math
|
isPrime:math
|
||||||
@ -86,6 +87,7 @@ isSorted:array
|
|||||||
isString:type,string
|
isString:type,string
|
||||||
isSymbol:type
|
isSymbol:type
|
||||||
isTravisCI:node
|
isTravisCI:node
|
||||||
|
isUpperCase:uncategorized
|
||||||
isValidJSON:type,json
|
isValidJSON:type,json
|
||||||
join:array
|
join:array
|
||||||
JSONToFile:node,json
|
JSONToFile:node,json
|
||||||
|
|||||||
Reference in New Issue
Block a user