asArray

@NotNull
open fun asArray(): @NotNull YamlArray

Gets this element as an array

Return

array

Throws

if type is different.