Sha256: b1e89abe39c869e346cd2b60fda838a16d640b91d8918f0654fcc72247f50488
Contents?: true
Size: 360 Bytes
Versions: 26
Compression:
Stored size: 360 Bytes
Contents
export function isDomParserSupportedType( type: string ): type is DOMParserSupportedType { const supportedTypes: Array<DOMParserSupportedType> = [ 'application/xhtml+xml', 'application/xml', 'image/svg+xml', 'text/html', 'text/xml', ] return supportedTypes.some((supportedType) => { return type.startsWith(supportedType) }) }
Version data entries
26 entries across 26 versions & 1 rubygems