Options
All
  • Public
  • Public/Protected
  • All
Menu

Module is/reactComponent

Index

References

Functions

References

Renames and re-exports isReactComponent

Functions

  • isReactComponent(test: any): boolean
  • Returns whether a value is a valid React component

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

    Note:

    Parameters

    • test: any

      a reference being tested

    Returns boolean

    whether a value is a React component

Generated using TypeDoc