update

fun MutableMeta.update(meta: Meta)

Update existing mutable node with another node. The rules are following:

  • value replaces anything

  • node updates node and replaces anything but node

  • node list updates node list if number of nodes in the list is the same and replaces anything otherwise