method Type.prototype.isLiteralimport { Type } from "https://deno.land/x/ts_morph@22.0.0/ts_morph.d.ts"; isLiteral(): booleanGets if this is a literal type. Gets if this is a literal type. Returnsboolean