Other Functions
The following functions are available globally.
-
Undocumented
Declaration
Swift
public func MakeRelation(_ attributes: [Attribute], _ rowValues: [RelationValue]...) -> MemoryTableRelation
-
Undocumented
Declaration
Swift
public func == (a: RecursiveQuery, b: RecursiveQuery) -> Bool
-
Undocumented
Declaration
Swift
public func == (a: RelationValue, b: RelationValue) -> Bool -
Undocumented
Declaration
Swift
public func < (a: RelationValue, b: RelationValue) -> Bool
-
For a Result that contains a sequence of Results, if it’s Ok, iterate over the sequence, accumulating new Ok values. If the Result contains Err, or any of the sequence elements are Err, then produce the first Err. This is a free-standing function because I couldn’t quite get it to work as an extension due to the extra generic types. Referencing the inner types didn’t make the compiler happy.
-
Iterate over a sequence of Results, invoking the given function for each Ok value and returning a Result for the array it produces. If any sequence elements are Err, then return the first Err encountered.
-
Iterate over a sequence of Results, invoking the given function for each Ok value and returning a Result for the array it produces. If any sequence elements are Err, then return the first Err encountered. If the function returns nil, then that entry is omitted from the result
-
Iterate over a sequence of
Results, checking each value against the predicate. If a value is found where the predicate istrue, returntrue. If an error is found first, return that error. If no matching value and no error is found, returnfalse. -
Iterate over a sequence of values, invoking the given Result-producing function and returning a Result for the array it produces. If an Err result is produced for any element, then return the first Err encountered.
-
Undocumented
Declaration
Swift
public func *== (lhs: SelectExpression, rhs: SelectExpression) -> SelectExpression -
Undocumented
Declaration
Swift
public func *!= (lhs: SelectExpression, rhs: SelectExpression) -> SelectExpression -
Undocumented
Declaration
Swift
public func *< (lhs: SelectExpression, rhs: SelectExpression) -> SelectExpression -
Undocumented
Declaration
Swift
public func *<= (lhs: SelectExpression, rhs: SelectExpression) -> SelectExpression -
Undocumented
Declaration
Swift
public func *> (lhs: SelectExpression, rhs: SelectExpression) -> SelectExpression -
Undocumented
Declaration
Swift
public func *>= (lhs: SelectExpression, rhs: SelectExpression) -> SelectExpression -
Undocumented
Declaration
Swift
public func *&& (lhs: SelectExpression, rhs: SelectExpression) -> SelectExpression -
Undocumented
Declaration
Swift
public func *|| (lhs: SelectExpression, rhs: SelectExpression) -> SelectExpression -
Undocumented
Declaration
Swift
public prefix func *! (expr: SelectExpression) -> SelectExpression -
Undocumented
Declaration
Swift
public func ~= (pattern: Bool, value: SelectExpression) -> Bool
-
Undocumented
Declaration
Swift
public func == <E>(a: E, b: E) -> Bool where E : ArrayElement -
Undocumented
Declaration
Swift
public func == <E>(a: ArrayChange<E>, b: ArrayChange<E>) -> Bool where E : ArrayElement
-
Returns an AsyncReadableProperty whose value is a tuple (pair) containing the
valuefrom each of the given properties. The returned property’svaluewill contain a fresh tuple any time the value of either input changes.Declaration
Swift
public func zip<LHS: AsyncReadablePropertyType, RHS: AsyncReadablePropertyType>(_ lhs: LHS, _ rhs: RHS) -> AsyncReadableProperty<(LHS.Value, RHS.Value)> where LHS.Value == LHS.SignalChange, RHS.Value == RHS.SignalChange -
Returns an AsyncReadableProperty whose value is the negation of the boolean value of the given property.
Declaration
Swift
public func not<P: AsyncReadablePropertyType>(_ property: P) -> AsyncReadableProperty<Bool> where P.Value == Bool, P.SignalChange == Bool -
Returns an AsyncReadableProperty whose value is the negation of the given boolean property.
Declaration
Swift
public prefix func !<P: AsyncReadablePropertyType>(property: P) -> AsyncReadableProperty<Bool> where P.Value == Bool, P.SignalChange == Bool
-
Undocumented
Declaration
Swift
public func == <T>(a: CommonValue<T>, b: CommonValue<T>) -> Bool where T : Equatable
-
Returns a ReadableProperty whose value is a tuple (pair) containing the
valuefrom each of the given properties. The returned property’svaluewill contain a fresh tuple any time the value of either input changes.Declaration
Swift
public func zip<LHS, RHS>(_ lhs: LHS, _ rhs: RHS) -> ReadableProperty<(LHS.Value, RHS.Value)> where LHS : ReadablePropertyType, RHS : ReadablePropertyType -
Returns a ReadableProperty whose value is the negation of the boolean value of the given property.
Declaration
Swift
public func not<P>(_ property: P) -> ReadableProperty<Bool> where P : ReadablePropertyType, P.Value == Bool -
Undocumented
Declaration
Swift
public func *|| <LHS, RHS>(lhs: LHS, rhs: RHS) -> ReadableProperty<Bool> where LHS : ReadablePropertyType, RHS : ReadablePropertyType, LHS.Value == Bool, RHS.Value == Bool -
Undocumented
Declaration
Swift
public func *&& <LHS, RHS>(lhs: LHS, rhs: RHS) -> ReadableProperty<Bool> where LHS : ReadablePropertyType, RHS : ReadablePropertyType, LHS.Value == Bool, RHS.Value == Bool -
Undocumented
Declaration
Swift
public func *== <LHS, RHS>(lhs: LHS, rhs: RHS) -> ReadableProperty<Bool> where LHS : ReadablePropertyType, RHS : ReadablePropertyType, LHS.Value : Equatable, LHS.Value == RHS.Value
-
Returns a Signal that creates a fresh tuple (pair) any time there is a new value in either input.
Declaration
Swift
public func zip<LHS, RHS>(_ lhs: LHS, _ rhs: RHS) -> Signal<(LHS.Value, RHS.Value)> where LHS : SignalType, RHS : SignalType -
Returns a Signal whose value resolves to the logical OR of the values delivered on the given signals.
Declaration
Swift
public func *|| <LHS, RHS>(lhs: LHS, rhs: RHS) -> Signal<Bool> where LHS : SignalType, RHS : SignalType, LHS.Value == Bool, RHS.Value == Bool -
Returns a Signal whose value resolves to the logical AND of the values delivered on the given signals.
Declaration
Swift
public func *&& <LHS, RHS>(lhs: LHS, rhs: RHS) -> Signal<Bool> where LHS : SignalType, RHS : SignalType, LHS.Value == Bool, RHS.Value == Bool -
Returns a Signal whose value resolves to
truewhen the values delivered on the given signals are equal.Declaration
Swift
public func *== <LHS, RHS>(lhs: LHS, rhs: RHS) -> Signal<Bool> where LHS : SignalType, RHS : SignalType, LHS.Value : Equatable, LHS.Value == RHS.Value
-
Undocumented
Declaration
Swift
public func == <N>(a: TreeChange<N>, b: TreeChange<N>) -> Bool where N : TreeNode
Other Functions Reference