UNPKG

@fable-org/fable-library-js

Version:

Core library used by F# projects compiled with fable.io

9 lines (8 loc) 185 B
export function Helpers_allocateArrayFromCons(cons, len) { if ((typeof cons) === "function") { return new cons(len); } else { return new Array(len); } }