YamlCollection

shampoo.yaml.YamlCollection
sealed trait YamlCollection extends YamlNode

Defines YAML collection.

Attributes

Graph
Supertypes
trait YamlNode
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def size: Int

Gets collection size.

Gets collection size.

Attributes

Concrete methods

def isEmpty: Boolean

Tests for empty.

Tests for empty.

Attributes

def nonEmpty: Boolean

Tests for non-empty.

Tests for non-empty.

Attributes

Inherited methods

def as[T](using constructor: YamlConstructor[T]): T

Constructs data.

Constructs data.

Value parameters

constructor

data constructor

Attributes

Inherited from:
YamlNode