Pad T with PadWith at the start of the tuple.
T
PadWith
If the MaxLength is less than the length of the tuple, the Tuple will be returned unchanged.
MaxLength
Tuple
⚗️ transform
PadStart<[1, 2, 3], 5, 0> // [0, 0, 1, 2, 3]// Ignore if MaxLength is less than the length of the tuplePadStart<[1, 2, 3], 2> // [1, 2, 3]// Default to unknownPadStart<[1, 2, 3], 5> // [unknown, unknown, 1, 2, 3] Copy
PadStart<[1, 2, 3], 5, 0> // [0, 0, 1, 2, 3]// Ignore if MaxLength is less than the length of the tuplePadStart<[1, 2, 3], 2> // [1, 2, 3]// Default to unknownPadStart<[1, 2, 3], 5> // [unknown, unknown, 1, 2, 3]
Pad
T
withPadWith
at the start of the tuple.If the
MaxLength
is less than the length of the tuple, theTuple
will be returned unchanged.⚗️ transform