Replace

public struct Replace: Fn

Replaces the resource ref using the provided params. Values not specified are removed.

Reference.

  • Declaration

    Swift

    public init(ref: Expr, with params: Expr)

    Parameters

    ref

    Indicates the instance to be updated.

    params

    New instance data.