FunctionType

public enum FunctionType

The type of the associated value of the each case in the MatchType enum. Used to indicate what function to use to match returned query collections with.

  • Returns the collection.count value of the queried collection.

    Declaration

    Swift

    case amount(CompareType)
  • Returns the minimum value of every number in a queried number collection.

    Declaration

    Swift

    case minValue(CompareType)
  • Returns the maximum value of every number in a queried number collection.

    Declaration

    Swift

    case maxValue(CompareType)
  • Returns the average value of every number in a number collection. Best used against an array of numbers to get the average of all numbers in that array.

    Declaration

    Swift

    case averageValue(CompareType)
  • The type of the associated value of the each case in the FunctionType enum. Used to indicate how to compare the value of the function that’s used to match returned query collections with.

    See more

    Declaration

    Swift

    public enum CompareType