struct TypedExpression<V> where V : AutomationValue
extension TypedExpression : Sendable
Wraps an Expression
with an associated value type.
-
Returns a
TypedExpression
that evaluates to true if the other expression evaluates to the same value as this expression.Declaration
Swift
func equals(_ other: TypedExpression<V>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if the other value is equal to the value of this expression.Declaration
Swift
func equals(_ other: V) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if the other expression evaluates to a different value than this expression.Declaration
Swift
func notEquals(_ other: TypedExpression<V>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if the other value is NOT equal to the value of this expression.Declaration
Swift
func notEquals(_ other: V) -> TypedExpression<Bool>
-
Undocumented
Declaration
Swift
let expression: any Expression
-
Performs the
ListContains
operation on the list.Declaration
Swift
func contains(_ element: TypedExpression<V.Element>) -> TypedExpression<Bool>
Parameters
element
The element, represented as a typed expression, to check for in the list.
Return Value
Boolean typed expression representing
ListContains
operation. -
Performs the
ListContains
operation on the list.Declaration
Swift
func contains(_ element: V.Element) -> TypedExpression<Bool>
Parameters
element
The element, represented as a constant value, to check for in the list.
Return Value
Boolean typed expression representing
ListContains
operation. -
Performs the
ListGet
operation on the list.Declaration
Swift
subscript(index: TypedExpression<Int>) -> TypedExpression<V.Element?> { get }
Parameters
index
The index, represented as a typed expression, of the element to get from the list.
Return Value
V.Element?
typed expression representingListGet
operation. -
Performs the
ListGet
operation on the list.Declaration
Swift
subscript(index: TypedExpression<Int?>) -> TypedExpression<V.Element?> { get }
Parameters
index
The index, represented as typed expression, of the element to get from the list.
Return Value
V.Element?
typed expression representingListGet
operation. -
Performs the
ListGet
operation on the list.Declaration
Swift
subscript(index: TypedExpression<UInt>) -> TypedExpression<V.Element?> { get }
Parameters
index
The index, represented as a typed expression, of the element to get from the list.
Return Value
V.Element?
typed expression representingListGet
operation. -
Performs the
ListGet
operation on the list.Declaration
Swift
subscript(index: TypedExpression<UInt?>) -> TypedExpression<V.Element?> { get }
Parameters
index
The index, represented as a typed expression, of the element to get from the list.
Return Value
V.Element?
typed expression representingListGet
operation. -
Performs an any match operation on the list.
Declaration
Swift
func any(where predicate: (TypedExpression<V.Element>) -> TypedExpression<Bool>) -> TypedExpression<Bool>
Return Value
Boolean typed expression representing the
ListAnyMatch
operation. -
Performs an all match operation on the list.
Declaration
Swift
func all(where predicate: (TypedExpression<V.Element>) -> TypedExpression<Bool>) -> TypedExpression<Bool>
Return Value
Boolean typed expression representing the
ListAllMatch
operation. -
Performs a none match operation on the list.
Declaration
Swift
func none(where predicate: (TypedExpression<V.Element>) -> TypedExpression<Bool>) -> TypedExpression<Bool>
Return Value
Boolean typed expression representing the
ListNoneMatch
operation. -
Performs the
ListMap
operation on the list.Declaration
Swift
func map<U>(_ transform: (TypedExpression<V.Element>) -> TypedExpression<U>) -> TypedExpression<[U]> where U : AutomationValue
Parameters
transform
A closure that takes a typed expression of the list element type and returns a typed expression of the desired output type.
Return Value
[U]
typed expression representing theListMap
operation. -
Performs the
ListFilter
operation on the list.Declaration
Swift
func filter(_ isIncluded: (TypedExpression<V.Element>) -> TypedExpression<Bool>) -> TypedExpression<V>
Parameters
isIncluded
A closure that takes a typed expression of the list element type and returns a typed expression of boolean type indicating whether the passed element should be included in the filtered list.
Return Value
V
typed expression representing theListFilter
operation.
-
Returns a
TypedExpression
that evaluates to true if the other expression evaluates to a value that is greater than the value of this expression.Declaration
Swift
func greaterThan(_ other: TypedExpression<V>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if the other value is greater than the value of this expression.Declaration
Swift
func greaterThan(_ other: V) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if the other expression evaluates to a value that is greater than or equal to the value of this expression.Declaration
Swift
func greaterThanOrEquals(_ other: TypedExpression<V>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if the other value is greater than or equal to the value of this expression.Declaration
Swift
func greaterThanOrEquals(_ other: V) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if the other expression evaluates to a value that is less than the value of this expression.Declaration
Swift
func lessThan(_ other: TypedExpression<V>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if the other value is less than the value of this expression.Declaration
Swift
func lessThan(_ other: V) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if the other expression evaluates to a value that is less than or equal to the value of this expression.Declaration
Swift
func lessThanOrEquals(_ other: TypedExpression<V>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if the other value is less than or equal to the value of this expression.Declaration
Swift
func lessThanOrEquals(_ other: V) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a value that is between the given parameters.Declaration
Swift
func between(_ parameter1: TypedExpression<V>, _ parameter2: TypedExpression<V>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a value that is between the given parameters.Declaration
Swift
func between(_ parameter1: V, _ parameter2: V) -> TypedExpression<Bool>
-
Undocumented
Declaration
Swift
func between(_ parameter1: V, _ parameter2: TypedExpression<V>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a value that is between the given parameters.Declaration
Swift
func between(_ parameter1: TypedExpression<V>, _ parameter2: V) -> TypedExpression<Bool>
-
Performs plus operation between Numeric typed expressions.
Declaration
Swift
func plus(_ other: TypedExpression<V>) -> TypedExpression<V>
Parameters
other
Numeric typed expression to be added with this expression.
Return Value
Numeric typed expression with plus operation.
-
Performs plus operation between Numeric typed expression and Numeric type.
Declaration
Swift
func plus(_ other: V) -> TypedExpression<V>
Parameters
other
Numeric value to be added with this expression.
Return Value
Numeric typed expression with plus operation.
-
Performs minus operation between Numeric typed expressions.
Declaration
Swift
func minus(_ other: TypedExpression<V>) -> TypedExpression<V>
Parameters
other
Numeric typed expression to be subtracted from this expression.
Return Value
Numeric typed expression with minus operation.
-
Performs minus operation between Numeric typed expression and Numeric type.
Declaration
Swift
func minus(_ other: V) -> TypedExpression<V>
Parameters
other
Numeric value to be subtracted from this expression.
Return Value
Numeric typed expression with minus operation.
-
Performs multiply operation between Numeric typed expressions.
Declaration
Swift
func multiply(_ other: TypedExpression<V>) -> TypedExpression<V>
Parameters
other
Numeric typed expression to be multiplied with this expression.
Return Value
Numeric typed expression with multiply operation.
-
Performs multiply operation between Numeric typed expression and Numeric type.
Declaration
Swift
func multiply(_ other: V) -> TypedExpression<V>
Parameters
other
Numeric value to be multiplied with this expression.
Return Value
Numeric typed expression with multiply operation.
-
Performs divide operation between Numeric typed expressions.
Declaration
Swift
func divide(_ other: TypedExpression<V>) -> TypedExpression<V>
Parameters
other
Numeric typed expression which divides this expression.
Return Value
Numeric typed expression with divide operation.
-
Performs divide operation between Numeric typed expression and Numeric type.
Declaration
Swift
func divide(_ other: V) -> TypedExpression<V>
Parameters
other
Numeric value which divides this expression.
Return Value
Numeric typed expression with divide operation.
-
Performs the
ListContains
operation on the list.Declaration
Swift
func contains(_ element: TypedExpression<V.Wrapped.Element>) -> TypedExpression<Bool>
Parameters
element
The element, represented as a typed expression, to check for in the list.
Return Value
Boolean typed expression representing
ListContains
operation. -
Performs the
ListContains
operation on the list.Declaration
Swift
func contains(_ element: V.Wrapped.Element) -> TypedExpression<Bool>
Parameters
element
The element, represented as a constant value, to check for in the list.
Return Value
Boolean typed expression representing
ListContains
operation. -
Performs the
ListGet
operation on the list.Declaration
Swift
subscript(index: TypedExpression<Int>) -> TypedExpression<V.Wrapped.Element?> { get }
Parameters
index
The index, represented as a typed expression, of the element to get from the list.
Return Value
V.Element?
typed expression representingListGet
operation. -
Performs the
ListGet
operation on the list.Declaration
Swift
subscript(index: TypedExpression<Int?>) -> TypedExpression<V.Wrapped.Element?> { get }
Parameters
index
The index, represented as typed expression, of the element to get from the list.
Return Value
V.Element?
typed expression representingListGet
operation. -
Performs the
ListGet
operation on the list.Declaration
Swift
subscript(index: Int) -> TypedExpression<V.Wrapped.Element?> { get }
Parameters
index
The index, represented as a constant value, of the element to get from the list.
Return Value
V.Element?
typed expression representingListGet
operation. -
Performs the
ListGet
operation on the list.Declaration
Swift
subscript(index: TypedExpression<UInt>) -> TypedExpression<V.Wrapped.Element?> { get }
Parameters
index
The index, represented as a typed expression, of the element to get from the list.
Return Value
V.Element?
typed expression representingListGet
operation. -
Performs the
ListGet
operation on the list.Declaration
Swift
subscript(index: TypedExpression<UInt?>) -> TypedExpression<V.Wrapped.Element?> { get }
Parameters
index
The index, represented as a typed expression, of the element to get from the list.
Return Value
V.Element?
typed expression representingListGet
operation. -
Performs the
ListGet
operation on the list.Declaration
Swift
subscript(index: UInt) -> TypedExpression<V.Wrapped.Element?> { get }
Parameters
index
The index, represented as a constant value, of the element to get from the list.
Return Value
V.Element?
typed expression representingListGet
operation. -
Performs an any match operation on the list.
Declaration
Swift
func any(where predicate: (TypedExpression<V.Wrapped.Element>) -> TypedExpression<Bool>) -> TypedExpression<Bool>
Return Value
Boolean typed expression representing the
ListAnyMatch
operation. -
Performs an all match operation on the list.
Declaration
Swift
func all(where predicate: (TypedExpression<V.Wrapped.Element>) -> TypedExpression<Bool>) -> TypedExpression<Bool>
Return Value
Boolean typed expression representing the
ListAllMatch
operation. -
Performs a none match operation on the list.
Declaration
Swift
func none(where predicate: (TypedExpression<V.Wrapped.Element>) -> TypedExpression<Bool>) -> TypedExpression<Bool>
Return Value
Boolean typed expression representing the
ListNoneMatch
operation. -
Performs the
ListMap
operation on the list.Declaration
Swift
func map<U>(_ transform: (TypedExpression<V.Wrapped.Element>) -> TypedExpression<U>) -> TypedExpression<[U]?> where U : AutomationValue
Parameters
transform
A closure that takes a typed expression of the list element type and returns a typed expression of the desired output type.
Return Value
[U]?
typed expression representing theListMap
operation. -
Performs the
ListFilter
operation on the list.Declaration
Swift
func filter(_ isIncluded: (TypedExpression<V.Wrapped.Element>) -> TypedExpression<Bool>) -> TypedExpression<V>
Parameters
isIncluded
A closure that takes a typed expression of the list element type and returns a typed expression of boolean type indicating whether the passed element should be included in the filtered list.
Return Value
V
typed expression representing theListFilter
operation.
-
Returns a
TypedExpression
that evaluates to true if the other expression evaluates to a value that is greater than the value of this expression.Declaration
Swift
func greaterThan(_ other: TypedExpression<V>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if the other value is greater than the value of this expression.Declaration
Swift
func greaterThan(_ other: V) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if the other expression evaluates to a value that is greater than or equal to the value of this expression.Declaration
Swift
func greaterThanOrEquals(_ other: TypedExpression<V>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if the other value is greater than or equal to the value of this expression.Declaration
Swift
func greaterThanOrEquals(_ other: V) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if the other expression evaluates to a value that is less than the value of this expression.Declaration
Swift
func lessThan(_ other: TypedExpression<V>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if the other value is less than the value of this expression.Declaration
Swift
func lessThan(_ other: V) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if the other expression evaluates to a value that is less than or equal to the value of this expression.Declaration
Swift
func lessThanOrEquals(_ other: TypedExpression<V>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if the other value is less than or equal to the value of this expression.Declaration
Swift
func lessThanOrEquals(_ other: V) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a value that is between the given parameters.Declaration
Swift
func between(_ parameter1: TypedExpression<V>, _ parameter2: TypedExpression<V>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a value that is between the given parameters.Declaration
Swift
func between(_ parameter1: V, _ parameter2: V) -> TypedExpression<Bool>
-
Undocumented
Declaration
Swift
func between(_ parameter1: V, _ parameter2: TypedExpression<V>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a value that is between the given parameters.Declaration
Swift
func between(_ parameter1: TypedExpression<V>, _ parameter2: V) -> TypedExpression<Bool>
-
Performs plus operation between Numeric typed expressions.
Declaration
Swift
func plus(_ other: TypedExpression<V>) -> TypedExpression<V>
Parameters
other
Numeric typed expression to be added with this expression.
Return Value
Numeric typed expression with plus operation.
-
Performs plus operation between Numeric typed expression and Numeric type.
Declaration
Swift
func plus(_ other: V) -> TypedExpression<V>
Parameters
other
Numeric value to be added with this expression.
Return Value
Numeric typed expression with plus operation.
-
Performs minus operation between Numeric typed expressions.
Declaration
Swift
func minus(_ other: TypedExpression<V>) -> TypedExpression<V>
Parameters
other
Numeric typed expression to be subtracted from this expression.
Return Value
Numeric typed expression with minus operation.
-
Performs minus operation between Numeric typed expression and Numeric type.
Declaration
Swift
func minus(_ other: V) -> TypedExpression<V>
Parameters
other
Numeric value to be subtracted from this expression.
Return Value
Numeric typed expression with minus operation.
-
Performs multiply operation between Numeric typed expressions.
Declaration
Swift
func multiply(_ other: TypedExpression<V>) -> TypedExpression<V>
Parameters
other
Numeric typed expression to be multiplied with this expression.
Return Value
Numeric typed expression with multiply operation.
-
Performs multiply operation between Numeric typed expression and Numeric type.
Declaration
Swift
func multiply(_ other: V) -> TypedExpression<V>
Parameters
other
Numeric value to be multiplied with this expression.
Return Value
Numeric typed expression with multiply operation.
-
Performs divide operation between Numeric typed expressions.
Declaration
Swift
func divide(_ other: TypedExpression<V>) -> TypedExpression<V>
Parameters
other
Numeric typed expression which divides this expression.
Return Value
Numeric typed expression with divide operation.
-
Performs divide operation between Numeric typed expression and Numeric type.
Declaration
Swift
func divide(_ other: V) -> TypedExpression<V>
Parameters
other
Numeric value which divides this expression.
Return Value
Numeric typed expression with divide operation.
-
Converts typed expression to
Int8
typed expression.Declaration
Swift
func toInt8() -> TypedExpression<Int8?>
-
Converts typed expression to
Int16
typed expression.Declaration
Swift
func toInt16() -> TypedExpression<Int16?>
-
Converts typed expression to
Int32
typed expression.Declaration
Swift
func toInt32() -> TypedExpression<Int32?>
-
Converts typed expression to
Int64
typed expression.Declaration
Swift
func toInt64() -> TypedExpression<Int64?>
-
Converts typed expression to
Int
typed expression.Declaration
Swift
func toInt() -> TypedExpression<Int?>
-
Converts typed expression to
UInt8
typedExperession.Declaration
Swift
func toUInt8() -> TypedExpression<UInt8?>
-
Converts typed expression to
UInt16
typed expression.Declaration
Swift
func toUInt16() -> TypedExpression<UInt16?>
-
Converts typed expression to
UInt32
typed expression.Declaration
Swift
func toUInt32() -> TypedExpression<UInt32?>
-
Converts typed expression to
UInt64
typed expression.Declaration
Swift
func toUInt64() -> TypedExpression<UInt64?>
-
Undocumented
Declaration
Swift
func toUInt() -> TypedExpression<UInt?>
-
Converts typed expression to
Int8
typed expression.Declaration
Swift
func toInt8() -> TypedExpression<Int8>
-
Converts typed expression to
Int16
typed expression.Declaration
Swift
func toInt16() -> TypedExpression<Int16>
-
Converts typed expression to
Int32
typed expression.Declaration
Swift
func toInt32() -> TypedExpression<Int32>
-
Converts typed expression to
Int64
typed expression.Declaration
Swift
func toInt64() -> TypedExpression<Int64>
-
Converts typed expression to
Int
typed expression.Declaration
Swift
func toInt() -> TypedExpression<Int>
-
Converts typed expression to
UInt8
typedExperession.Declaration
Swift
func toUInt8() -> TypedExpression<UInt8>
-
Converts typed expression to
UInt16
typed expression.Declaration
Swift
func toUInt16() -> TypedExpression<UInt16>
-
Converts typed expression to
UInt32
typed expression.Declaration
Swift
func toUInt32() -> TypedExpression<UInt32>
-
Converts typed expression to
UInt64
typed expression.Declaration
Swift
func toUInt64() -> TypedExpression<UInt64>
-
Undocumented
Declaration
Swift
func toUInt() -> TypedExpression<UInt>
-
Returns a
TypedExpression
that evaluates to true if the other expression and this expression both evaluate to true.Declaration
Swift
func and(_ other: TypedExpression<Bool>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if either the other expression or this expression evaluates to true.Declaration
Swift
func or(_ other: TypedExpression<Bool>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to false.Declaration
Swift
func not() -> TypedExpression<Bool>
-
Converts a
Double
typed expression toFloat
typed expression.Declaration
Swift
func toFloat() -> TypedExpression<Float>
-
Converts a
Double
typed expression toFloat
typed expression.Declaration
Swift
func toFloat() -> TypedExpression<Float?>
-
Performs plus operation between Duration typed expressions.
Declaration
Swift
func plus(_ other: TypedExpression<V>) -> TypedExpression<V>
Parameters
other
Duration typed expression to be added in this expression.
Return Value
Duration typed expression with plus operation.
-
Performs plus operation between Duration typed expression and Duration.
Declaration
Swift
func plus(_ other: V) -> TypedExpression<V>
Parameters
other
Duration value to be added in this expression.
Return Value
Duration typed expression with plus operation.
-
Performs minus operation between Duration typed expressions.
Declaration
Swift
func minus(_ other: TypedExpression<V>) -> TypedExpression<V>
Parameters
other
Duration typed expression to be subtracted from this expression.
Return Value
Duration typed expression with minus operation.
-
Performs minus operation between Duration typed expression and Duration.
Declaration
Swift
func minus(_ other: V) -> TypedExpression<V>
Parameters
other
Duration value to be subtracted from this expression.
Return Value
Duration typed expression with minus operation.
-
Performs plus operation between
Duration
typed expressions.Declaration
Swift
func plus(_ other: TypedExpression<V>) -> TypedExpression<V>
Parameters
other
Duration typed expression to be added in this expression.
Return Value
Duration typed expression with plus operation.
-
Performs plus operation between
Duration
typed expression and Duration.Declaration
Swift
func plus(_ other: V) -> TypedExpression<V>
Parameters
other
Duration value to be added in this expression.
Return Value
Duration typed expression with plus operation.
-
Performs minus operation between
Duration
typed expressions.Declaration
Swift
func minus(_ other: TypedExpression<V>) -> TypedExpression<V>
Parameters
other
Duration typed expression to be subtracted from this expression.
Return Value
Duration typed expression with minus operation.
-
Performs minus operation between
Duration
typed expression and Duration.Declaration
Swift
func minus(_ other: V) -> TypedExpression<V>
Parameters
other
Duration value to be subtracted from this expression.
Return Value
Duration typed expression with minus operation.
-
Converts a
Float
typed expression toDouble
typed expression.Declaration
Swift
func toDouble() -> TypedExpression<Double>
-
Converts a
Float
typed expression toDouble
typed expression.Declaration
Swift
func toDouble() -> TypedExpression<Double?>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a local date that is between the given dates.Declaration
Swift
func between(_ parameter1: TypedExpression<V>, _ parameter2: TypedExpression<V>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a local date that is between the given dates.Declaration
Swift
func between(_ parameter1: V, _ parameter2: V) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a local date that is between the given dates.Declaration
Swift
func between(_ parameter1: V, _ parameter2: TypedExpression<V>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a local date that is between the given dates.Declaration
Swift
func between(_ parameter1: TypedExpression<V>, _ parameter2: V) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a local date’s month and day that is between the givenMonthDay
s.Declaration
Swift
func between(_ parameter1: TypedExpression<V>, _ parameter2: TypedExpression<V>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a local date’s month and day that is between the givenMonthDay
s.Declaration
Swift
func between(_ parameter1: V, _ parameter2: V) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a local date’s month and day that is between the givenMonthDay
s.Declaration
Swift
func between(_ parameter1: V, _ parameter2: TypedExpression<V>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a local date’s month and day that is between the givenMonthDay
s.Declaration
Swift
func between(_ parameter1: TypedExpression<V>, _ parameter2: V) -> TypedExpression<Bool>
-
Performs plus operation between String typed expressions.
Declaration
Swift
func plus(_ other: TypedExpression<V>) -> TypedExpression<V>
Parameters
other
String typed expression to be added in this expression.
Return Value
String typed expression with plus operation.
-
Performs plus operation between String typed expression and String.
Declaration
Swift
func plus(_ other: V) -> TypedExpression<V>
Parameters
other
String value to be added in this expression.
Return Value
String typed expression with plus operation.
-
Performs plus operation between String typed expressions.
Declaration
Swift
func plus(_ other: TypedExpression<V>) -> TypedExpression<V>
Parameters
other
String typed expression to be added in this expression.
Return Value
String typed expression with plus operation.
-
Performs plus operation between String typed expression and String.
Declaration
Swift
func plus(_ other: V) -> TypedExpression<V>
Parameters
other
String value to be added in this expression.
Return Value
String typed expression with plus operation.
-
Performs plus operation between TimeOfDay and Duration typed expressions.
Declaration
Swift
func plus(_ other: TypedExpression<Duration>) -> TypedExpression<TimeOfDay>
Parameters
other
Duration typed expression to be added in this expression.
Return Value
TimeOfDay typed expression with plus operation.
-
Performs plus operation between TimeOfDay typed expression and Duration.
Declaration
Swift
func plus(_ other: Duration) -> TypedExpression<TimeOfDay>
Parameters
other
Duration value to be added in this expression.
Return Value
TimeOfDay typed expression with plus operation.
-
Performs minus operation between TimeOfDay and Duration typed expressions.
Declaration
Swift
func minus(_ other: TypedExpression<Duration>) -> TypedExpression<TimeOfDay>
Parameters
other
Duration typed expression to be subtracted from this expression.
Return Value
TimeOfDay typed expression with minus operation.
-
Performs minus operation between TimeOfDay typed expression and Duration.
Declaration
Swift
func minus(_ other: Duration) -> TypedExpression<TimeOfDay>
Parameters
other
Duration value to be subtracted from this expression.
Return Value
TimeOfDay typed expression with minus operation.
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a time of day that is between the given times of day.Declaration
Swift
func between(_ parameter1: TypedExpression<V>, _ parameter2: TypedExpression<V>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a time of day that is between the given times of day.Declaration
Swift
func between(_ parameter1: V, _ parameter2: V) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a time of day that is between the given times of day.Declaration
Swift
func between(_ parameter1: V, _ parameter2: TypedExpression<V>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a time of day that is between the given times of day.Declaration
Swift
func between(_ parameter1: TypedExpression<V>, _ parameter2: V) -> TypedExpression<Bool>
-
Performs plus operation between
TimeOfDay
andDuration
typed expressions.Declaration
Swift
func plus(_ other: TypedExpression<Duration?>) -> TypedExpression<TimeOfDay?>
Parameters
other
Duration typed expression to be added in this expression.
Return Value
TimeOfDay typed expression with plus operation.
-
Performs minus operation between
TimeOfDay
andDuration
typed expressions.Declaration
Swift
func minus(_ other: TypedExpression<Duration?>) -> TypedExpression<TimeOfDay?>
Parameters
other
Duration typed expression to be subtracted from this expression.
Return Value
TimeOfDay typed expression with minus operation.
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a time of day that is between the given times of day.Declaration
Swift
func between(_ parameter1: TypedExpression<V>, _ parameter2: TypedExpression<V>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a time of day that is between the given times of day.Declaration
Swift
func between(_ parameter1: V, _ parameter2: V) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a time of day that is between the given times of day.Declaration
Swift
func between(_ parameter1: V, _ parameter2: TypedExpression<V>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a time of day that is between the given times of day.Declaration
Swift
func between(_ parameter1: TypedExpression<V>, _ parameter2: V) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a local date’s year and month that is between the givenYearMonth
s.Declaration
Swift
func between(_ parameter1: TypedExpression<V>, _ parameter2: TypedExpression<V>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a local date’s year and month that is between the givenYearMonth
s.Declaration
Swift
func between(_ parameter1: V, _ parameter2: V) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a local date’s year and month that is between the givenYearMonth
s.Declaration
Swift
func between(_ parameter1: V, _ parameter2: TypedExpression<V>) -> TypedExpression<Bool>
-
Returns a
TypedExpression
that evaluates to true if this expression evaluates to a local date’s year and month that is between the givenYearMonth
s.Declaration
Swift
func between(_ parameter1: TypedExpression<V>, _ parameter2: V) -> TypedExpression<Bool>