The one value a set holds, undefined unless it holds exactly one, optionally of the given kind.
undefined
the set to take the value from
the kind the value has to have, any kind if unset
the sole value, undefined if the set holds another number of them or another kind
NodeValue.sole
The one value a set holds,
undefinedunless it holds exactly one, optionally of the given kind.Param: set
the set to take the value from
Param: type
the kind the value has to have, any kind if unset
Returns
the sole value,
undefinedif the set holds another number of them or another kind