FlowManager Documentation Beta

Structure Params​Range

public struct ParamsRange: Codable, Equatable

A parameter ranges in terms of min and max values. Could be used for defining configuration range values such as Normal BPP minimum and maximum values.

Example:

let normalRange = ParamsRange(min: 70, max: 110)
%3 ParamsRange ParamsRange Codable Codable ParamsRange->Codable Equatable Equatable ParamsRange->Equatable

Conforms To

Codable
Equatable

Initializers

init(min:​max:​)

public init(min: Int = 0, max: Int = 0)

Initializes a new bicycle with the provided parts and specifications.

Parameters

min Int

The minimum value of the range.

max Int

The maximum value of the range.

Properties

min

var min: Int

The minimum value of the range.

max

var max: Int

The maximum value of the range.

Methods

contains(_:​)

public func contains(_ value: Int) -> Bool

Check if the range contains a specific value. Return true if value is contained, false if not.

Parameters

value Int

The value to be check.