Wraps a pre-existing One
One
import { One, wrap } from "deleight/onetomany";const arr1 = [], arr2 = [], arr3 = [];const o4 = new One({ arr1, arr2, arr3 });const wo4 = wrap(o4); Copy
import { One, wrap } from "deleight/onetomany";const arr1 = [], arr2 = [], arr3 = [];const o4 = new One({ arr1, arr2, arr3 });const wo4 = wrap(o4);
Wraps a pre-existing
One