Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const isMarkExtension = (extension: unknown): extension is MarkExtension =>
isExtension(extension) && extension.type === ExtensionType.Mark;
get type(): ExtensionType.Mark {
return ExtensionType.Mark;
}