Skip to content

Commit 4b1fcca

Browse files
committed
Fix typos in docs
1 parent 8e93033 commit 4b1fcca

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Sources/Property.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ extension PropertyProtocol {
396396
extension PropertyProtocol where Value == Bool {
397397
/// Create a property that computes a logical NOT in the latest values of `self`.
398398
///
399-
/// - returns: A property that contains the logial NOT results.
399+
/// - returns: A property that contains the logical NOT results.
400400
public func negate() -> Property<Value> {
401401
return self.lift { $0.negate() }
402402
}
@@ -407,7 +407,7 @@ extension PropertyProtocol where Value == Bool {
407407
/// - parameters:
408408
/// - property: Property to be combined with `self`.
409409
///
410-
/// - returns: A property that contains the logial AND results.
410+
/// - returns: A property that contains the logical AND results.
411411
public func and<P: PropertyProtocol>(_ property: P) -> Property<Value> where P.Value == Value {
412412
return self.lift(SignalProducer.and)(property)
413413
}
@@ -417,7 +417,7 @@ extension PropertyProtocol where Value == Bool {
417417
/// - parameters:
418418
/// - property: Collection of properties to be combined.
419419
///
420-
/// - returns: A property that contains the logial AND results.
420+
/// - returns: A property that contains the logical AND results.
421421
public static func all<P: PropertyProtocol, Properties: Collection>(_ properties: Properties) -> Property<Value> where P.Value == Value, Properties.Element == P {
422422
return Property(initial: properties.map { $0.value }.reduce(true) { $0 && $1 }, then: SignalProducer.all(properties))
423423
}
@@ -428,7 +428,7 @@ extension PropertyProtocol where Value == Bool {
428428
/// - parameters:
429429
/// - property: Property to be combined with `self`.
430430
///
431-
/// - returns: A property that contains the logial OR results.
431+
/// - returns: A property that contains the logical OR results.
432432
public func or<P: PropertyProtocol>(_ property: P) -> Property<Value> where P.Value == Value {
433433
return self.lift(SignalProducer.or)(property)
434434
}
@@ -438,7 +438,7 @@ extension PropertyProtocol where Value == Bool {
438438
/// - parameters:
439439
/// - properties: Collection of properties to be combined.
440440
///
441-
/// - returns: A property that contains the logial OR results.
441+
/// - returns: A property that contains the logical OR results.
442442
public static func any<P: PropertyProtocol, Properties: Collection>(_ properties: Properties) -> Property<Value> where P.Value == Value, Properties.Element == P {
443443
return Property(initial: properties.map { $0.value }.reduce(false) { $0 || $1 }, then: SignalProducer.any(properties))
444444
}

0 commit comments

Comments
 (0)