NEWCKEditor AI is here! Learn how to supercharge your editor with AI on our webinar.
Sign up (with export icon)

utils/dom/isrange

Api-module iconmodule

Functions

  • Chevron-right icon

    isRange( obj ) → obj is Range

    Checks if the object is a native DOM Range.

    Parameters

    obj : unknown

    Returns

    obj is Range