import { primitiveParse } from "https://deno.land/x/simple_utility@v2.3.1/src/pure/primitive.ts";
Convert from dirty text to specified type.
Enabling strict
flag will throw exception if parsing failed.
Examples
Example 1
Example 1
const value = primitiveParse("123", "number", true);