Function isPortableTextListItemBlock

  • Strict check to determine if node is a correctly formatted portable list item block.

    Parameters

    • block: TypedObject | PortableTextBlock<PortableTextMarkDefinition, PortableTextSpan | ArbitraryTypedObject, string, string>

      Block to check

    Returns block is PortableTextListItemBlock<PortableTextMarkDefinition, PortableTextSpan, string, string>

    True if valid Portable Text list item block, otherwise false