to

infix fun String.to(value: String)(source)

Sets the value at the pointer path this to value.

Parameters

value

The new string value.


infix fun String.to(value: Boolean)(source)

Sets the value at the pointer path this to value.

Parameters

value

The new boolean value.


infix fun String.to(value: Int)(source)

Sets the value at the pointer path this to value.

Parameters

value

The new int value.


infix fun String.to(value: Long)(source)

Sets the value at the pointer path this to value.

Parameters

value

The new long value.


infix fun String.to(value: Float)(source)

Sets the value at the pointer path this to value.

Parameters

value

The new float value.


infix fun String.to(value: Double)(source)

Sets the value at the pointer path this to value.

Parameters

value

The new double value.


infix fun String.to(value: Nothing?)(source)

Sets the value at the pointer path this to null.

Parameters

value

Must be null.


infix fun String.to(value: KpaElement)(source)

Sets the value at the pointer path this to value.

Parameters

value

The new element.


infix fun KPointer.to(value: String)(source)

Sets the value at this pointer to value.

Parameters

value

The new string value.


infix fun KPointer.to(value: Boolean)(source)

Sets the value at this pointer to value.

Parameters

value

The new boolean value.


infix fun KPointer.to(value: Int)(source)

Sets the value at this pointer to value.

Parameters

value

The new int value.


infix fun KPointer.to(value: Long)(source)

Sets the value at this pointer to value.

Parameters

value

The new long value.


infix fun KPointer.to(value: Float)(source)

Sets the value at this pointer to value.

Parameters

value

The new float value.


infix fun KPointer.to(value: Double)(source)

Sets the value at this pointer to value.

Parameters

value

The new double value.


infix fun KPointer.to(value: Nothing?)(source)

Sets the value at this pointer to null.

Parameters

value

Must be null.


infix fun KPointer.to(value: KpaElement)(source)

Sets the value at this pointer to value.

Parameters

value

The new element.