Manages the toggling of state properties based on specified paths. Every paths leading to boolean value will be initially set to false, then activities one will deactivate the others.
Set to false every state leaded by toggle paths.
To call to destroy properly the component.
Set to false every state leaded by toggle paths except the specified one. Use the given value on the specified one.
Static
Filters out invalid toggle paths from the given array of paths. Invalid path are path not leading to object in the state, or not leading to boolean value.