Obtain all possible prefixes.
an array
number of values [-1 ⇒ any]
[[], x[..1], x[..2], ...] if n<0; [x[..n]] otherwise
Generated using TypeDoc
Obtain all possible prefixes.