collectionStyleHack

Get the collection style a YAML node had in the file it was loaded from.

May only be called on collection nodes (nodes where node.isScalar() != true).

  1. CollectionStyle collectionStyleHack(const(Node) node)
    @safe nothrow
    collectionStyleHack
    (
    ref const(Node) node
    )
  2. void collectionStyleHack(Node node, CollectionStyle rhs)

See Also

scalarStyleHack

Meta