UNPKG

@genexus/web-standard-functions

Version:

GeneXus JavaScript standard functions library for web generators

10 lines 300 B
import { GxCollectionData } from "../gxcollection"; export const CreateInstance = (type, isCollection = false) => { if (isCollection) { return new GxCollectionData().setType(type); } else { return type ? new type() : {}; } }; //# sourceMappingURL=createInstance.js.map