{"version":3,"file":"is-valid-query-string.mjs","names":[],"sources":["../src/is-valid-query-string.ts"],"sourcesContent":["/**\n * Checks for invalid characters within the provided query string.\n *\n * @param queryString The query string.\n *\n * @example\n * ```js\n * const isValid = isValidQueryString( 'query=true&another=false' ); // true\n * const isNotValid = isValidQueryString( 'query=true?another=false' ); // false\n * ```\n *\n * @return True if the argument contains a valid query string.\n */\nexport function isValidQueryString( queryString: string ): boolean {\n\tif ( ! queryString ) {\n\t\treturn false;\n\t}\n\treturn /^[^\\s#?\\/]+$/.test( queryString );\n}\n"],"mappings":";;;;;;;;;;;;;;AAaA,SAAgB,mBAAoB,aAA+B;CAClE,IAAK,CAAE,aACN,OAAO;CAER,OAAO,eAAe,KAAM,WAAY;AACzC"}