import { isQuotedString } from "https://deno.land/x/http_utils@2.0.0-beta.1/quoted_string.ts";
Whether the input is quoted-string or not.
Examples
Example 1
Example 1
import { isQuotedString } from "https://deno.land/x/http_utils@$VERSION/quoted_string.ts";
import {
assert,
assertFalse,
} from "https://deno.land/std/testing/asserts.ts";
assert(isQuotedString(`""`));
assert(isQuotedString(`"qdtext"`));
assert(isQuotedString(`"quoted-pair"`));
assertFalse(isQuotedString(""));
Returns
input is QuotedString