Latest
function isScalarType
import { isScalarType } from "https://dotland.deno.dev/x/graphql_deno@v15.0.0/lib/type/index.js";

There are predicates for each kind of GraphQL type.