Skip to main content
Version: 0.10 (unreleased)

isBundleModeEnabled

Available from 0.10.0

Checks whether Bundle Mode is enabled.

For instructions on how to enable Bundle Mode, see the Bundle Mode documentation.

Reference

import { isBundleModeEnabled } from 'react-native-worklets';

console.log(isBundleModeEnabled()); // true if Bundle Mode is enabled

Type definitions

function isBundleModeEnabled(): boolean;

Returns

true if Bundle Mode is enabled, false otherwise (including in Legacy Eval Mode and on the Web).

We are Software Mansion.