Contains

public struct Contains: Fn

Contains returns true if the argument passed to in contains a value at the specified path, and false otherwise.

Reference.

  • Declaration

    Swift

    public init(path: Expr..., in object: Expr)

    Parameters

    path

    Determines a location within in data.

    object

    Value to check if path is present.