Skip to main content

PreferenceMigrate

Callable

  • PreferenceMigrate(from: any, to: any, prefName: string, defaultValue: any): void

  • Migrates a named preference from one preference object to another if not already migrated


    Parameters

    • from: any

      The preference object to migrate from

    • to: any

      The preference object to migrate to

    • prefName: string

      The name of the preference to migrate

    • defaultValue: any

      The default value for the preference if it doesn't exist

    Returns void

    • Nothing