import { isFunction } from "https://deno.land/x/30_seconds_of_typescript@v1.0.1/util.ts";
Checks if the given argument is a string. Only works for string primitives.
Use typeof
to check if a value is classified as a string primitive.
Guard Function to check string type