WEBINARNo AI, your AI, or a team of agents: Introducing CKEditor Editing Toolkit. REGISTER NOW!
Sign up (with export icon)

utils/dom/iscomment

Api-module iconmodule

Functions

  • Chevron-right icon

    isComment( obj ) → obj is Comment

    Checks whether the object is a native DOM Comment node.

    Parameters

    obj: any

    Returns

    obj is Comment