{"version":3,"file":"_httpQueryReadArray.mjs","names":[],"sources":["../../src/internal/_httpQueryReadArray.ts"],"sourcesContent":["/**\n * Read a collected query value list; an empty list means the key was absent and\n * gives the alternative that the property's type calls for.\n *\n * @evidence contracts/common.md#principled-implementation An empty collected array means the key was absent and returns the alternative that the transform chose for the property's type, and otherwise the array.\n * @evidence contracts/common.md#clear-and-simple-design One conditional.\n * @evidence contracts/common.md#prohibited-implementation-shortcuts The alternative is passed by the emitted code.\n * @evidence contracts/common.md#meaningful-documentation A comment states the absent-versus-empty rule.\n */\nexport const _httpQueryReadArray = (\n  input: any[],\n  alternative: null | undefined,\n) => (input.length ? input : alternative);\n"],"mappings":";;;;;;;;;;AASA,MAAa,uBACX,OACA,gBACI,MAAM,SAAS,QAAQ"}