Operation

public enum Operation

Defines a computation between values.

  • Adding two values.

    Declaration

    Swift

    case plus
  • Subtracting one value from another.

    Declaration

    Swift

    case minus
  • Multiplying two values.

    Declaration

    Swift

    case times
  • Dividing a value by another.

    Declaration

    Swift

    case dividedBy