|
|
|
|
@@ -45,7 +45,7 @@ console.log(capitalizeFirstChar("lorem ipsum"))
|
|
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
|
|
|
|
|
[functions/capitalizeFirstChar.ts:32](https://git.resultium.net/public/utils/src/commit/fdb28fa/src/functions/capitalizeFirstChar.ts#L32)
|
|
|
|
|
[functions/capitalizeFirstChar.ts:32](https://git.resultium.net/public/utils/src/commit/ea3cb13/src/functions/capitalizeFirstChar.ts#L32)
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
@@ -78,7 +78,7 @@ console.log(classNames("bg-blue-300", isVisible ? "block" : "hidden"))
|
|
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
|
|
|
|
|
[functions/classNames.ts:34](https://git.resultium.net/public/utils/src/commit/fdb28fa/src/functions/classNames.ts#L34)
|
|
|
|
|
[functions/classNames.ts:34](https://git.resultium.net/public/utils/src/commit/ea3cb13/src/functions/classNames.ts#L34)
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
@@ -107,12 +107,12 @@ new string
|
|
|
|
|
let isAdmin = true
|
|
|
|
|
|
|
|
|
|
// prints "Hello, Administrator!"
|
|
|
|
|
console.log(conditionalJoin(["Hello,", isAdmin ? "Administrator" : "User", "!"], " "))
|
|
|
|
|
console.log(conditionalJoin(["Hello,", isAdmin ? "Administrator!" : "User!"], " "))
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
|
|
|
|
|
[functions/conditionalJoin.ts:35](https://git.resultium.net/public/utils/src/commit/fdb28fa/src/functions/conditionalJoin.ts#L35)
|
|
|
|
|
[functions/conditionalJoin.ts:35](https://git.resultium.net/public/utils/src/commit/ea3cb13/src/functions/conditionalJoin.ts#L35)
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
@@ -160,7 +160,7 @@ console.log(
|
|
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
|
|
|
|
|
[functions/isDeepWeakEqual.ts:47](https://git.resultium.net/public/utils/src/commit/fdb28fa/src/functions/isDeepWeakEqual.ts#L47)
|
|
|
|
|
[functions/isDeepWeakEqual.ts:47](https://git.resultium.net/public/utils/src/commit/ea3cb13/src/functions/isDeepWeakEqual.ts#L47)
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
@@ -197,7 +197,7 @@ console.log(randomInRange(1, 100))
|
|
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
|
|
|
|
|
[functions/randomInRange.ts:37](https://git.resultium.net/public/utils/src/commit/fdb28fa/src/functions/randomInRange.ts#L37)
|
|
|
|
|
[functions/randomInRange.ts:37](https://git.resultium.net/public/utils/src/commit/ea3cb13/src/functions/randomInRange.ts#L37)
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
@@ -243,7 +243,7 @@ console.log(removeFromArrayByKeyValue([{ a: "1", b: "0" }, { a: "2", b: "0" }, {
|
|
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
|
|
|
|
|
[functions/removeFromArrayByKeyValue.ts:40](https://git.resultium.net/public/utils/src/commit/fdb28fa/src/functions/removeFromArrayByKeyValue.ts#L40)
|
|
|
|
|
[functions/removeFromArrayByKeyValue.ts:40](https://git.resultium.net/public/utils/src/commit/ea3cb13/src/functions/removeFromArrayByKeyValue.ts#L40)
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
@@ -282,7 +282,7 @@ console.log(removeObjectProperty({ a: "1", b: "2", c: "3" }, "c"))
|
|
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
|
|
|
|
|
[functions/removeObjectProperty.ts:33](https://git.resultium.net/public/utils/src/commit/fdb28fa/src/functions/removeObjectProperty.ts#L33)
|
|
|
|
|
[functions/removeObjectProperty.ts:33](https://git.resultium.net/public/utils/src/commit/ea3cb13/src/functions/removeObjectProperty.ts#L33)
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
@@ -330,7 +330,7 @@ console.log(replaceFromArrayByKeyValue([{ a: "1", b: "0" }, { a: "2", b: "0" },
|
|
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
|
|
|
|
|
[functions/replaceFromArrayByKeyValue.ts:42](https://git.resultium.net/public/utils/src/commit/fdb28fa/src/functions/replaceFromArrayByKeyValue.ts#L42)
|
|
|
|
|
[functions/replaceFromArrayByKeyValue.ts:42](https://git.resultium.net/public/utils/src/commit/ea3cb13/src/functions/replaceFromArrayByKeyValue.ts#L42)
|
|
|
|
|
|
|
|
|
|
___
|
|
|
|
|
|
|
|
|
|
@@ -368,4 +368,4 @@ console.log(splitIntoChunks(["a", "b", "c", "d", "e", "f"], 3));
|
|
|
|
|
|
|
|
|
|
#### Defined in
|
|
|
|
|
|
|
|
|
|
[functions/splitIntoChuks.ts:33](https://git.resultium.net/public/utils/src/commit/fdb28fa/src/functions/splitIntoChuks.ts#L33)
|
|
|
|
|
[functions/splitIntoChunks.ts:33](https://git.resultium.net/public/utils/src/commit/ea3cb13/src/functions/splitIntoChunks.ts#L33)
|
|
|
|
|
|