• Preparing search index...
  • The search index is not available
Lens SDK Reference
  • Lens SDK Reference
  • @lens-protocol/client
  • Core
  • isMirrorPublication

Function isMirrorPublication

  • isMirrorPublication<T>(publication): publication is PickByTypename<T, "Mirror">
  • Check if publication is a MirrorFragment.

    Type Parameters

    • T extends Typename<string>

    Parameters

    • publication: T

      publication to check

    Returns publication is PickByTypename<T, "Mirror">

    true if the result is a MirrorFragment

    • Defined in packages/client/src/submodules/publication/helpers/publicationTypes.ts:33

Settings

Member Visibility

Theme

Lens SDK Reference
  • @lens-protocol/react-web - v2.3.2
  • @lens-protocol/react-native - v2.3.2
  • @lens-protocol/client - v2.3.2