Match

public struct Match: Fn

Match returns the set of instances that match the terms, based on the configuration of the specified index. terms can be either a single value, or an array.

Reference.

  • Declaration

    Swift

    public init(index: Expr, terms: Expr...)

    Parameters

    index

    Index to use to perform the match.

    terms

    Terms can be either a single value, or multiple values.