Skip to content

SDK API Reference / isJourneyLocalComposableSegment

Function: isJourneyLocalComposableSegment() ​

isJourneyLocalComposableSegment(segment): boolean

Whether a composable segment belongs to a journey (the composable equivalent of a complete segment's kind === SEGMENT_KIND_JOURNEY), meaning journey pull should inline its definition rather than reference it by name.

Parameters ​

segment ​

composableJourneyId? ​

string

entityType? ​

string

Returns ​

boolean