get Feature Flag
Returns the feature flags variant if multi-variant, otherwise whether it is enabled or not Docs https://posthog.com/docs/feature-flags and https://posthog.com/docs/experiments
Parameters
the distinctId
the Key
the default value if not found
Returns the feature flags variant if multi-variant, otherwise whether it is enabled or not Docs https://posthog.com/docs/feature-flags and https://posthog.com/docs/experiments
Return
the feature flag value or null if not found
Parameters
the distinctId
the Key
Returns the feature flags variant if multi-variant, otherwise whether it is enabled or not Docs https://posthog.com/docs/feature-flags and https://posthog.com/docs/experiments
Parameters
the distinctId
the Key
the feature flag options containing defaultValue, groups, personProperties, and groupProperties
Returns if a feature flag is enabled, the feature flag must be a Boolean Docs https://posthog.com/docs/feature-flags and https://posthog.com/docs/experiments
Parameters
the distinctId
the Key
the default value if not found