DispatchQueue
class DispatchQueue : DispatchObject
-
Mechanica
Returns a Boolean value indicating whether the current dispatch queue is the specified queue.
Declaration
Swift
public static func isCurrent(_ queue: DispatchQueue) -> BoolParameters
queueThe queue to compare against.
Return Value
trueif the current queue is the specified queue, otherwisefalse.
DispatchQueue Extension Reference