Is amitriptyline used for sleep problems

Is amitriptyline used for sleep problems