shared_decr: Decrement a shared counter

View source: R/input_f.R

shared_decrR Documentation

Decrement a shared counter

Description

Subtracts delta from the value of a shared_input object and returns the new value.

Usage

shared_decr(obj, delta = 1)

Arguments

obj

A shared_input object (constrained / shared mode).

delta

Numeric. Amount to subtract (default 1).

Value

The new value after decrementing.


WARDEN documentation built on July 23, 2026, 5:08 p.m.