(value)
| 252 | } |
| 253 | |
| 254 | function validateArrayFormatSeparator(value) { |
| 255 | if (typeof value !== 'string' || value.length !== 1) { |
| 256 | throw new TypeError('arrayFormatSeparator must be single character string'); |
| 257 | } |
| 258 | } |
| 259 | |
| 260 | function encode(value, options) { |
| 261 | if (options.encode) { |