Properties
public extension Properties
For any property list, rapidly determine if the bridgable properties are included
-
Determines if the properties include at least one of the properties in the supplied array
Declaration
Swift
func hasProperty<EngineProperty>(in properties: [EngineProperty]) -> Bool where EngineProperty : BridgablePropertyParameters
propertiesThe properties to check for
Return Value
trueif at least one of the properties exists -
Creates a new
Propertiesobject by merging this set with the passedProperties, if there is a collision the passedPropertiesvalue will be usedDeclaration
Swift
func overridingWith(_ properties: Properties) -> PropertiesParameters
propertiesThe properties to merge. If there is a collision these will take priority
Return Value
The resultant merged
Properties
View on GitHub
Properties Extension Reference