mirror of
https://github.com/kotaindah55/extended-markdown-syntax.git
synced 2026-07-22 12:00:23 +00:00
6 lines
No EOL
215 B
TypeScript
6 lines
No EOL
215 B
TypeScript
import { Format } from "src/enums";
|
|
import { InlineFormat } from "src/types";
|
|
|
|
export function isInlineFormat(type: Format): type is InlineFormat {
|
|
return type >= Format.INSERTION && type <= Format.CUSTOM_SPAN
|
|
} |