Skip to content

Commit 7b29752

Browse files
committed
chore@small
1 parent 9999037 commit 7b29752

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12173,14 +12173,14 @@ switcher<T extends unknown>(valueToMatch: T): Switchem<T>
1217312173
```javascript
1217412174
const list = [1, 2, 3]
1217512175

12176-
const result = switcher(list.length)
12176+
const result = R.switcher(list.length)
1217712177
.is(x => x < 2, 4)
1217812178
.is(x => x < 4, 6)
1217912179
.default(7)
1218012180
// => 6
1218112181
```
1218212182

12183-
<a title="redirect to Rambda Repl site" href="https://rambda.netlify.app?const%20list%20%3D%20%5B1%2C%202%2C%203%5D%0A%0Aconst%20result%20%3D%20switcher(list.length)%0A%09.is(x%20%3D%3E%20x%20%3C%202%2C%204)%0A%09.is(x%20%3D%3E%20x%20%3C%204%2C%206)%0A%09.default(7)%0A%2F%2F%20%3D%3E%206">Try this <strong>R.switcher</strong> example in Rambda REPL</a>
12183+
<a title="redirect to Rambda Repl site" href="https://rambda.netlify.app?const%20list%20%3D%20%5B1%2C%202%2C%203%5D%0A%0Aconst%20result%20%3D%20R.switcher(list.length)%0A%09.is(x%20%3D%3E%20x%20%3C%202%2C%204)%0A%09.is(x%20%3D%3E%20x%20%3C%204%2C%206)%0A%09.default(7)%0A%2F%2F%20%3D%3E%206">Try this <strong>R.switcher</strong> example in Rambda REPL</a>
1218412184

1218512185
<details>
1218612186

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12173,14 +12173,14 @@ switcher<T extends unknown>(valueToMatch: T): Switchem<T>
1217312173
```javascript
1217412174
const list = [1, 2, 3]
1217512175

12176-
const result = switcher(list.length)
12176+
const result = R.switcher(list.length)
1217712177
.is(x => x < 2, 4)
1217812178
.is(x => x < 4, 6)
1217912179
.default(7)
1218012180
// => 6
1218112181
```
1218212182

12183-
<a title="redirect to Rambda Repl site" href="https://rambda.netlify.app?const%20list%20%3D%20%5B1%2C%202%2C%203%5D%0A%0Aconst%20result%20%3D%20switcher(list.length)%0A%09.is(x%20%3D%3E%20x%20%3C%202%2C%204)%0A%09.is(x%20%3D%3E%20x%20%3C%204%2C%206)%0A%09.default(7)%0A%2F%2F%20%3D%3E%206">Try this <strong>R.switcher</strong> example in Rambda REPL</a>
12183+
<a title="redirect to Rambda Repl site" href="https://rambda.netlify.app?const%20list%20%3D%20%5B1%2C%202%2C%203%5D%0A%0Aconst%20result%20%3D%20R.switcher(list.length)%0A%09.is(x%20%3D%3E%20x%20%3C%202%2C%204)%0A%09.is(x%20%3D%3E%20x%20%3C%204%2C%206)%0A%09.default(7)%0A%2F%2F%20%3D%3E%206">Try this <strong>R.switcher</strong> example in Rambda REPL</a>
1218412184

1218512185
<details>
1218612186

files/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5082,7 +5082,7 @@ Example:
50825082
```
50835083
const list = [1, 2, 3]
50845084
5085-
const result = switcher(list.length)
5085+
const result = R.switcher(list.length)
50865086
.is(x => x < 2, 4)
50875087
.is(x => x < 4, 6)
50885088
.default(7)

0 commit comments

Comments
 (0)