Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.46 KB

File metadata and controls

30 lines (23 loc) · 1.46 KB

BooleanDefaults

Properties

Name Type Description Notes
trueDisplayName string The display name for the true variation, displayed in the LaunchDarkly user interface [optional] [default to undefined]
falseDisplayName string The display name for the false variation, displayed in the LaunchDarkly user interface [optional] [default to undefined]
trueDescription string The description for the true variation [optional] [default to undefined]
falseDescription string The description for the false variation [optional] [default to undefined]
onVariation number The variation index of the flag variation to use for the default targeting behavior when a flag's targeting is on and the target did not match any rules [optional] [default to undefined]
offVariation number The variation index of the flag variation to use for the default targeting behavior when a flag's targeting is off [optional] [default to undefined]

Example

import { BooleanDefaults } from 'launchdarkly-api-typescript';

const instance: BooleanDefaults = {
    trueDisplayName,
    falseDisplayName,
    trueDescription,
    falseDescription,
    onVariation,
    offVariation,
};

[Back to Model list] [Back to API list] [Back to README]