MCPcopy Index your code
hub / github.com/pingdotgg/uploadthing / objectKeys

Function objectKeys

packages/shared/src/utils.ts:183–187  ·  view source on GitHub ↗
(
  obj: T,
)

Source from the content-addressed store, hash-verified

181
182/** typesafe Object.keys */
183export function objectKeys<T extends Record<string, unknown>>(
184 obj: T,
185): (keyof T)[] {
186 return Object.keys(obj) as (keyof T)[];
187}
188
189export function filterDefinedObjectValues<T>(
190 obj: Record<string, T | null | undefined>,

Callers 9

isValidFileTypeFunction · 0.90
isValidFileSizeFunction · 0.90
handleUploadActionFunction · 0.90
assertFilesMeetConfigFunction · 0.90
extractRouterConfigFunction · 0.90
generateMimeTypesFunction · 0.90
INTERNAL_doFormattingFunction · 0.90
fillInputRouteConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected