Functions
The following functions are available globally.
-
Get Unique
operator. It helps in getting unique shared expressions from two arrays. Content oflhs
array will be checked in terms on uniqueness. The operator does check is there is any shared expression inlhs
that is presented inrhs
. If element fromlhs
is not inrhs
then this element is correct and is returned in new array which is a result of this operation.Declaration
Swift
func <! (lhs: [SharedExpression], rhs: [SharedExpression]) -> [SharedExpression]