Skip to main content
variable isUpperCase
import { isUpperCase } from "https://deno.land/x/30_seconds_of_typescript@v1.0.1/util.ts";

Checks if a string is upper case.

Convert the given string to upper case, using String.prototype.toUpperCase() and compare it to the original.

type

(str: string) => unknown