The enzyme can use either (R)-NADH-hydrate or (R)-NADPH-hydrate as a substrate. Its physiological role is to convert the (R) forms to the (S) forms, which could then be restored to active dinucleotides by EC?4.2.1.93, ATP-dependent NAD(P)H-hydrate dehydratase.