Options
All
  • Public
  • Public/Protected
  • All
Menu

Module isElement

Index

References

Functions Lang

References

Renames and re-exports isElement

Lang Functions

  • isElement(value: any): boolean
  • Checks if value is likely a DOM element.

    since

    5.6.0

    example
    isElement(document.body)
    // => true

    isElement('<body>')
    // => false

    Parameters

    • value: any

      The value to check.

    Returns boolean

    Returns true if value is a DOM element, else false.