Skip to main content

msys.counter.reset

Last updated March 2020

Name

msys.counter.reset — Reset a counter

Synopsis

msys.counter.reset(object_or_path);

object_or_path: mixed

Description

Resets the given counter object or counter associated with the given path to 0. If the supplied counter path does not have a counter associated with it, then it is created with strict semantics.

Enable this function with the statement require('msys.counter');.

You can also use the counter console command to display and manipulate counters.

See Also

Was this page helpful?