addIfNotContains
open fun <T : Node, P : Edge<T>> addIfNotContains(collection: EdgeList<T, out P>, declaration: T, outgoing: Boolean)
Adds a declaration to a collection of property edges, which contain the declarations
Parameters
collection
the collection
declaration
the declaration
outgoing
whether the property is outgoing