remove unnecessary snippets

This commit is contained in:
lazargugleta
2019-09-26 21:00:22 +02:00
parent a01fdb390f
commit c076b32aa6
5 changed files with 0 additions and 160 deletions

View File

@ -116,8 +116,6 @@
* [`capitalize_every_word`](#capitalize_every_word)
* [`decapitalize`](#decapitalize)
* [`is_anagram`](#is_anagram)
* [`is_lower_case`](#is_lower_case)
* [`is_upper_case`](#is_upper_case)
* [`kebab`](#kebab)
* [`palindrome`](#palindrome)
* [`snake`](#snake)
@ -1760,52 +1758,6 @@ is_anagram("anagram", "Nag a ram") # True
<br>[⬆ Back to top](#contents)
### is_lower_case
Checks if a string is lower case.
Convert the given string to lower case, using `str.lower()` and compare it to the original.
```py
def is_lower_case(string):
return string == string.lower()
```
<details>
<summary>Examples</summary>
```py
is_lower_case('abc') # True
is_lower_case('a3@$') # True
is_lower_case('Ab4') # False
```
</details>
<br>[⬆ Back to top](#contents)
### is_upper_case
Checks if a string is upper case.
Convert the given string to upper case, using `str.upper()` and compare it to the original.
```py
def is_upper_case(string):
return string == string.upper()
```
<details>
<summary>Examples</summary>
```py
is_upper_case('ABC') # True
is_upper_case('a3@$') # False
is_upper_case('aB4') # False
```
</details>
<br>[⬆ Back to top](#contents)
### kebab
Converts a string to kebab case.

View File

@ -629,22 +629,6 @@
"hash": "354d3fcfa67b5df106c0ff528246bfacd2d7cec4942a7c3a904d87e76d7dae11"
}
},
{
"id": "is_lower_case",
"type": "snippetListing",
"title": "is_lower_case",
"attributes": {
"text": "Checks if a string is lower case.\n\nConvert the given string to lower case, using `str.lower()` and compare it to the original.\n\n",
"tags": [
"string",
"utility",
"beginner"
]
},
"meta": {
"hash": "ed6b313aaf87ba7ea9515679eea19f395f7bbd90b9f8b85ef54ca527115fa690"
}
},
{
"id": "is_odd",
"type": "snippetListing",
@ -660,22 +644,6 @@
"hash": "261771aa5fd9c9dcb60dd93c29afce0de3a51c505e474fa7c76789a1e0d8f5c8"
}
},
{
"id": "is_upper_case",
"type": "snippetListing",
"title": "is_upper_case",
"attributes": {
"text": "Checks if a string is upper case.\n\nConvert the given string to upper case, using `str.upper()` and compare it to the original.\n\n",
"tags": [
"string",
"utility",
"beginner"
]
},
"meta": {
"hash": "106225722752b199f974c06aec91721344499e46dbf643e9f2ce990ee8c2d3c1"
}
},
{
"id": "kebab",
"type": "snippetListing",

View File

@ -834,27 +834,6 @@
"hash": "354d3fcfa67b5df106c0ff528246bfacd2d7cec4942a7c3a904d87e76d7dae11"
}
},
{
"id": "is_lower_case",
"title": "is_lower_case",
"type": "snippet",
"attributes": {
"fileName": "is_lower_case.md",
"text": "Checks if a string is lower case.\n\nConvert the given string to lower case, using `str.lower()` and compare it to the original.\n\n",
"codeBlocks": {
"code": "def is_lower_case(string):\n return string == string.lower()",
"example": "is_lower_case('abc') # True\nis_lower_case('a3@$') # True\nis_lower_case('Ab4') # False"
},
"tags": [
"string",
"utility",
"beginner"
]
},
"meta": {
"hash": "ed6b313aaf87ba7ea9515679eea19f395f7bbd90b9f8b85ef54ca527115fa690"
}
},
{
"id": "is_odd",
"title": "is_odd",
@ -875,27 +854,6 @@
"hash": "261771aa5fd9c9dcb60dd93c29afce0de3a51c505e474fa7c76789a1e0d8f5c8"
}
},
{
"id": "is_upper_case",
"title": "is_upper_case",
"type": "snippet",
"attributes": {
"fileName": "is_upper_case.md",
"text": "Checks if a string is upper case.\n\nConvert the given string to upper case, using `str.upper()` and compare it to the original.\n\n",
"codeBlocks": {
"code": "def is_upper_case(string):\n return string == string.upper()",
"example": "is_upper_case('ABC') # True\nis_upper_case('a3@$') # False\nis_upper_case('aB4') # False"
},
"tags": [
"string",
"utility",
"beginner"
]
},
"meta": {
"hash": "106225722752b199f974c06aec91721344499e46dbf643e9f2ce990ee8c2d3c1"
}
},
{
"id": "kebab",
"title": "kebab",

View File

@ -1,19 +0,0 @@
---
title: is_lower_case
tags: string,utility,beginner
---
Checks if a string is lower case.
Convert the given string to lower case, using `str.lower()` and compare it to the original.
```py
def is_lower_case(string):
return string == string.lower()
```
```py
is_lower_case('abc') # True
is_lower_case('a3@$') # True
is_lower_case('Ab4') # False
```

View File

@ -1,19 +0,0 @@
---
title: is_upper_case
tags: string,utility,beginner
---
Checks if a string is upper case.
Convert the given string to upper case, using `str.upper()` and compare it to the original.
```py
def is_upper_case(string):
return string == string.upper()
```
```py
is_upper_case('ABC') # True
is_upper_case('a3@$') # False
is_upper_case('aB4') # False
```