MCPcopy Index your code
hub / github.com/TypeScriptToLua/TypeScriptToLua / ObjectConstructor

Interface ObjectConstructor

language-extensions/index.d.ts:688–697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

686}
687
688interface ObjectConstructor {
689 /** Returns an array of keys of an object, when iterated with `pairs`. */
690 keys<K extends AnyNotNil>(o: LuaPairsIterable<K, any> | LuaPairsKeyIterable<K>): K[];
691
692 /** Returns an array of values of an object, when iterated with `pairs`. */
693 values<V>(o: LuaPairsIterable<any, V>): V[];
694
695 /** Returns an array of key/values of an object, when iterated with `pairs`. */
696 entries<K extends AnyNotNil, V>(o: LuaPairsIterable<K, V>): Array<[K, V]>;
697}

Callers 24

detectCycleFunction · 0.65
getEmitHostFunction · 0.65
removeUndefinedFieldsFunction · 0.65
bundle.spec.tsFile · 0.65
sourcemaps.spec.tsFile · 0.65
createVirtualProgramFunction · 0.65
call-extension.tsFile · 0.65
testEachVersionFunction · 0.65
parse.tsFile · 0.65

Implementers 2

Mapsrc/lualib/Map.ts
Setsrc/lualib/Set.ts

Calls

no outgoing calls

Tested by

no test coverage detected