@blackglory/structures 0.10.14 → 0.10.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -32,6 +32,27 @@ function convertConsToArray<T>([value, next]: Cons<T>): T[]
32
32
  function convertArrayToCons<T>([value, ...next]: T[]): Cons<T>
33
33
  ```
34
34
 
35
+ ### Array
36
+ #### sliceArrayLeft
37
+ ```ts
38
+ function sliceArrayLeft<T>(arr: T[], num: number): T[]
39
+ ```
40
+
41
+ #### sliceArrayRight
42
+ ```ts
43
+ function sliceArrayRight<T>(arr: T[], num: number): T[]
44
+ ```
45
+
46
+ #### truncateArrayLeft
47
+ ```ts
48
+ function truncateArrayLeft<T>(arr: T[], num: number): void
49
+ ```
50
+
51
+ #### truncateArrayRight
52
+ ```ts
53
+ function truncateArrayRight<T>(arr: T[], num: number): void
54
+ ```
55
+
35
56
  ### Emitter
36
57
  ```ts
37
58
  type Listener<Args extends unknown[]> = (...args: Args) => void