MCPcopy Create free account
hub / github.com/Effect-TS/effect / Record

Function Record

packages/effect/src/Struct.ts:974–983  ·  view source on GitHub ↗
(
  keys: Keys,
  value: Value
)

Source from the content-addressed store, hash-verified

972 * @since 4.0.0
973 */
974export function Record<const Keys extends ReadonlyArray<string | symbol>, Value>(
975 keys: Keys,
976 value: Value
977): Record<Keys[number], Value> {
978 const out: any = {}
979 for (const key of keys) {
980 InternalRecord.assignProperty(out, key, value)
981 }
982 return out
983}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected