MCPcopy Create free account
hub / github.com/docker/getting-started / isModifierEnabled

Function isModifierEnabled

app/src/static/js/react-bootstrap.js:3930–3936  ·  view source on GitHub ↗

* Helper used to know if the given modifier is enabled. * @method * @memberof Popper.Utils * @returns {Boolean}

(modifiers, modifierName)

Source from the content-addressed store, hash-verified

3928
3929
3930function isModifierEnabled(modifiers, modifierName) {
3931 return modifiers.some(function (_ref) {
3932 var name = _ref.name,
3933 enabled = _ref.enabled;
3934 return enabled && name === modifierName;
3935 });
3936}
3937/**
3938 * Get the prefixed supported property name
3939 * @method

Callers 2

destroyFunction · 0.85
flipFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…