class SidekiqUniqueJobs::OnConflict::Strategy

def replace?

Returns:
  • (false) - when the strategy is not a {Replace}
  • (true) - when the strategy is a {Replace}
def replace?
  is_a?(Replace)
end