( source: string, transform: Transformer<T>, separator: AllowedSeparators = ",", )
| 17 | * @returns |
| 18 | */ |
| 19 | export function parseArray<T>( |
| 20 | source: string, |
| 21 | transform: Transformer<T>, |
| 22 | separator: AllowedSeparators = ",", |
| 23 | ): ArrayResult<T> { |
| 24 | return new ArrayParser(source, transform, separator).parse(); |
| 25 | } |
| 26 | |
| 27 | class ArrayParser<T> { |
| 28 | position = 0; |
no test coverage detected