Castellano (Spanish)
Appearance
Castellano (Spanish)
Appearance
STRUCT
PlatformCondition
Contents
platformFilters
when(_:)
public struct PlatformCondition: Codable, Hashable, Equatable, Sendable
A condition applied to an "entity" allowing it to only be used in certain circumstances
platformFilters
public let platformFilters: Set<PlatformFilter>
when(_:)
public static func when(_ platformFilters: Set<PlatformFilter>) -> PlatformCondition?
Creates a condition using the specified set of filters.
Condition
with the given set of filters or nil
if empty.Name | Description |
---|---|
platformFilters | filters to define which platforms this condition supports |