contains

operator fun Element.contains(pointer: KPointer): Boolean(source)

Returns whether the path identified by pointer resolves to a value within this element.

Return

true if the path resolves to a value; false if any segment is absent.

Parameters

pointer

The KPointer to test.