Declaration

Parameters

path

The key path to append.

Return Value

A key path from the root of this key path to the value type of path.

Discussion

Use this method to extend this key path to the value type of another key path. Calling appending(path:) results in the same key path as if the given key path had been specified using dot notation. In the following example, keyPath1 and keyPath2 are equivalent: