Options
All
  • Public
  • Public/Protected
  • All
Menu

Module is/reactElement

Index

References

Functions

References

Renames and re-exports isReactElement

Functions

  • isReactElement(test: any): boolean
  • Returns whether a value is a valid React element

    Note: uses react-is library internally. If the host environment does not has react-is library, any object with $$typeof property is considered valid.

    Note:

    Parameters

    • test: any

      a reference being tested

    Returns boolean

    whether a value is a React element

Generated using TypeDoc