variable stringimport { string } from "https://deno.land/x/fun@v2.0.0/decoder.ts"; A Decoder that validates strings. ExamplesExample 1 import * as D from "./decoder.ts"; const result1 = D.string(null); // Left(DecodeError) const result2 = D.string("Hello"); // Right("Hello") typeDecoder<unknown, string>