unwatch

Stop watching for mutations on a thing. This method returns nil and triggers a stop event, only when the thing was being watched.

This function does not generate an event.

Function

thing.unwatch()

Arguments

None

Return value

Returns nil.

Example

This code shows how to use unwatch():

.unwatch();

Return value in JSON format:

null