Preparing search index...
The search index is not available
Lens SDK Reference
Lens SDK Reference
@lens-protocol/client
Core
isPostPublication
Function isPostPublication
is
Post
Publication
<
T
>
(
publication
)
:
publication
is
PickByTypename
<
T
,
"Post"
>
Check if publication is a
PostFragment
.
Type Parameters
T
extends
Typename
<
string
>
Parameters
publication
:
T
publication to check
Returns
publication
is
PickByTypename
<
T
,
"Post"
>
true if the result is a
PostFragment
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Lens SDK Reference
@lens-protocol/react-web - v2.3.1
@lens-protocol/react-native - v2.3.1
@lens-protocol/client - v2.3.1
Check if publication is a PostFragment.