Tuple
1 | type A = Tuple<1> // [void] |
TupleO2N
1 | type A = Tuple2N<1> // [0] |
Tuple2N
1 | type A = Tuple2N<1> // [1] |
TupleM2N
1 | type A = TupleM2N<1, 1> // [1] |
Subtract
1 | type A = Subtract<3,3> // 0 |
Add
1 | type A = Add<3, 3> // 6 |
String2Number
1 | type A = String2Number<'3'> // 3 |
Negative2Positive
1 | type A = Negative2Positive<-1> // 1 |
Divide
1 | type A = Divide<10, 3> // 3 |
Multiply
1 | type A = Multiply<3, 3> // 9 |
Pow
1 | type A = Pow<3, 3> // 27 |
Push
1 | type A = Push<[1, 2, 3], 4> // [1,2,3,4] |
Pop
1 | type A = Pop<[1, 2, 3, 4]> // [1,2,3] |
UnShift
1 | type A = UnShift<[2,3,4], 1> // [1,2,3,4] |
Shift
1 | type A = Shift<[1,2,3,4]> // [2,3,4] |
Concat
1 | type A = Concat<[1,2], [3,4]> // [1,2,3,4] |
ConcatAdv
1 | type A = ConcatAdv<[1], [2], [3], [4], []>; // [1,2,3,4] |
Join
1 | type A = Join<[1,2,3], ','> // '1,2,3,4' |