Skip to Content
Open Replay OpenReplay
DOCS
Search⌘+K
      Intro
    • Home
    • Getting started
    • Deployment
    • Deployment
    • Configuration
    • SDKs
    • JavaScript
      • Overview
      • Initialization
      • Methods
        • event
        • getSessionToken
        • getSessionID
        • getSessionURL
        • handleError
        • isActive
        • issue
        • setUserID
        • setUserAnonymousID
        • setMetadata
        • isFlagEnabled
        • reloadFlags
        • getFeatureFlag
        • getAllFeatureFlags
        • clearPersistFlag
        • start
        • stop
        • coldStart
        • startOfflineRecording
        • uploadOfflineRecording
        • forceFlushBatch
        • trackWs
      • Network Options
      • Sanitize Data
      • Private Mode
      • Frameworks
    • iOS (beta)
    • Android (beta)
    • React Native (beta)
    • Products
    • Session Replay
    • Product Analytics
    • Co-browsing
    • Platform
    • AI
    • Plugins
    • Integrations
    • API
    • Spot (Chrome Extension)
    • Materials
    • Exporting data
    • Troubleshooting
    • Tutorials
    • OpenReplay CLI
  • Join Slack Community
    Blog
    Browse GitHub
Search⌘+K
      Intro
    • Home
    • Getting started
    • Deployment
    • Deployment
    • Configuration
    • SDKs
    • JavaScript
      • Overview
      • Initialization
      • Methods
        • event
        • getSessionToken
        • getSessionID
        • getSessionURL
        • handleError
        • isActive
        • issue
        • setUserID
        • setUserAnonymousID
        • setMetadata
        • isFlagEnabled
        • reloadFlags
        • getFeatureFlag
        • getAllFeatureFlags
        • clearPersistFlag
        • start
        • stop
        • coldStart
        • startOfflineRecording
        • uploadOfflineRecording
        • forceFlushBatch
        • trackWs
      • Network Options
      • Sanitize Data
      • Private Mode
      • Frameworks
    • iOS (beta)
    • Android (beta)
    • React Native (beta)
    • Products
    • Session Replay
    • Product Analytics
    • Co-browsing
    • Platform
    • AI
    • Plugins
    • Integrations
    • API
    • Spot (Chrome Extension)
    • Materials
    • Exporting data
    • Troubleshooting
    • Tutorials
    • OpenReplay CLI
  • Join Slack Community
    Blog
    Browse GitHub

On this page

  • Overview
  • Signature
  • Return value

JavaScript SDK ⁠-⁠ isFlagEnabled method

This page is not yet available in your language, so we’re showing you the English version. You can help by translating it! Learn more about how you can contribute

This method returns true if flag with this key does exist and is active.

Signature

Section titled Signature
isFlagEnabled(): boolean

Return value

Section titled Return value

Returns true if flag exists and is enabled

On this page

  • Overview
  • Signature
  • Return value
Change Log   ↗

Support us by starring our repo!

GitHub Repo stars
  • OpenReplay
  • .
  • Privacy Policy
  • .
  • Terms