Contents

subscript(_:_:)

Accesses the value at the given delimited key path.

Declaration

subscript(keyPath: String, delimiters: String) -> USDValue? { get set }

Parameters

  • keyPath:

    A string of components separated by characters in delimiters.

  • delimiters:

    The characters that separate path components.

Overview

Reads return nil if no value is present at the path. Assigning a non-nil value sets it at the path, creating intermediate dictionaries as needed; assigning nil erases the value at the path.