Functions

The following functions are available globally.

  • Comparator between two tweaks for A/B Testing.

    Declaration

    Swift

    public func == <T>(lhs: Tweak<T>, rhs: Tweak<T>) -> Bool

    Parameters

    lhs

    the left hand side tweak to compare

    rhs

    the right hand side tweak to compare

    Return Value

    a boolean telling if both tweaks are equal

  • Comparator between two tweaks for A/B Testing.

    Declaration

    Swift

    public func == (lhs: AnyTweak, rhs: AnyTweak) -> Bool

    Parameters

    lhs

    the left hand side tweak to compare

    rhs

    the right hand side tweak to compare

    Return Value

    a boolean telling if both tweaks are equal