match: {
    createEnvironmentMatcher: ((macros) => TypeGuard<Environment>);
    createMacroMatcher: (<S>(macros) => TypeGuard<Macro & {
        content: S;
    }>);
    anyEnvironment(node): node is Environment;
    anyMacro(node): node is Macro;
    anyString(node): node is String;
    argument(node): node is Argument;
    blankArgument(node): boolean;
    comment(node): node is Comment;
    environment(node, envName?): node is Environment;
    group(node): node is Group;
    macro(node, macroName?): node is Macro;
    math(node): node is InlineMath | DisplayMath;
    parbreak(node): node is Parbreak;
    string(node, value?): node is String;
    whitespace(node): node is Whitespace;
    whitespaceLike(node): node is Whitespace | Comment & {
        leadingWhitespace: true;
    };
} = ...

Functions to match different types of nodes.

Type declaration

Generated using TypeDoc