Index

public struct Index: Fn

The index function returns a valid ref for the given index name

Reference

  • Declaration

    Swift

    public init(_ name: String, scope: Expr? = nil)

    Parameters

    name

    The index name.

    scope

    The scope database.