OptionsFunc

typealias OptionsFunc = (option: String, type: OptionType, description: String?) -> Boolean

Function used to iterate options.

Not that @description string is not localized.

  • param option the option name

  • param type the option #JSCOptionType

  • param description the option description, or null

  • return true to stop the iteration, or false otherwise