• Returns a function that will reset the given state to its default value.

    Parameters

    Returns Resetter