|
6 | 6 | | ------ | ------ | |
7 | 7 | | [NarrowedTo](type-aliases/NarrowedTo.md) | An extension of Extract for type predicates which falls back to the base in order to narrow the `unknown` case. | |
8 | 8 | | [Pretty](type-aliases/Pretty.md) | - | |
9 | | -| [unit](type-aliases/unit.md) | alias for `undefined` | |
| 9 | +| [unit](type-aliases/unit.md) | alias for `undefined`. | |
10 | 10 |
|
11 | 11 | ## Variables |
12 | 12 |
|
13 | 13 | | Variable | Description | |
14 | 14 | | ------ | ------ | |
15 | 15 | | [compose](variables/compose.md) | Composes two functions, `ab` and `bc` into a single function that takes in an argument `a` of type `A` and returns a result of type `C`. The result is obtained by first applying the `ab` function to `a` and then applying the `bc` function to the result of `ab`. | |
16 | 16 | | [dual](variables/dual.md) | Creates a function that can be used in a data-last (aka `pipe`able) or data-first style. | |
17 | | -| [unit](variables/unit.md) | alias for `undefined` | |
| 17 | +| [unit](variables/unit.md) | alias for `undefined`. | |
18 | 18 |
|
19 | 19 | ## Functions |
20 | 20 |
|
|
23 | 23 | | [absurd](functions/absurd.md) | The `absurd` function is a stub for cases where a value of type `never` is encountered in your code, meaning that it should be impossible for this code to be executed. | |
24 | 24 | | [apply](functions/apply.md) | Apply a function to a given value. | |
25 | 25 | | [constant](functions/constant.md) | Returns a function that always returns the same value. | |
26 | | -| [constFalse](functions/constFalse.md) | Do nothing and return false | |
27 | | -| [constNull](functions/constNull.md) | Do nothing and return null | |
28 | | -| [constTrue](functions/constTrue.md) | Do nothing and return true | |
29 | | -| [constVoid](functions/constVoid.md) | Do nothing and return void | |
| 26 | +| [constFalse](functions/constFalse.md) | Do nothing and return `false`. | |
| 27 | +| [constNull](functions/constNull.md) | Do nothing and return `null`. | |
| 28 | +| [constTrue](functions/constTrue.md) | Do nothing and return `true`. | |
| 29 | +| [constVoid](functions/constVoid.md) | Do nothing and return `void`. | |
30 | 30 | | [flip](functions/flip.md) | Reverses the order of arguments for a curried function. | |
31 | 31 | | [flow](functions/flow.md) | Performs left-to-right function composition. The first argument may have any arity, the remaining arguments must be unary. | |
32 | 32 | | [getOrElse](functions/getOrElse.md) | Retrieves a value from a Map or WeakMap if the key exists, or computes a new value if it doesn't. | |
|
42 | 42 | | [pipeArguments](functions/pipeArguments.md) | - | |
43 | 43 | | [tryAddToSet](functions/tryAddToSet.md) | Attempts to add a value to a Set, but only if it doesn't already exist. | |
44 | 44 | | [tupled](functions/tupled.md) | Creates a version of this function: instead of `n` arguments, it accepts a single tuple argument. | |
45 | | -| [untupled](functions/untupled.md) | Inverse function of `tupled` | |
| 45 | +| [untupled](functions/untupled.md) | Inverse function of `tupled`. | |
0 commit comments