+ +
+

toYamlArray

+
+
inline fun Sequence<Any?>.toYamlArray(initialSize: Int = 8): ArrayNode
inline fun Iterable<Any?>.toYamlArray(initialSize: Int = 8): ArrayNode

Creates a new ArrayNode containing elements from the receiver stream.

Return

A new ArrayNode containing elements from the receiver stream.

Since

v4.0.0

Parameters

initialSize

An initial size value to use if an expected size for the final array is known ahead of time.


inline fun Array<Any?>.toYamlArray(): ArrayNode

Creates a new ArrayNode containing elements from the receiver array.

Return

A new ArrayNode containing elements from the receiver array.

Since

v4.0.0

+