2.12.0-beta.4
Pre-release
Pre-release
- Add
-
guard function
guard<{ a: 1 }>({ a: 1 }) => { a: 1 }
-
tuple function
tuple(1, 2, 3) => [1, 2, 3]
-
Pair type
Pair<K, V> => [K, V]
-
ReadonlyPair type
ReadonlyPair<K, V> => readonly [K, V]
-
AnyPair type
AnyPair<K, V> => [K, V] | readonly [K, V]
-
PairKey type
PairKey<[1, 2]> => 1
-
PairValue type
PairKey<[1, 2]> => 2
-
seq.mapKey
-
seq.mapValue
-
seq.arr
-