MCPcopy
hub / github.com/Effect-TS/effect / Record

Function Record

packages/effect/src/Schema.ts:3060–3062  ·  view source on GitHub ↗
(
  options: { readonly key: K; readonly value: V }
)

Source from the content-addressed store, hash-verified

3058 * @since 3.10.0
3059 */
3060export const Record = <K extends Schema.All, V extends Schema.All>(
3061 options: { readonly key: K; readonly value: V }
3062): Record$<K, V> => makeRecordClass(options.key, options.value)
3063
3064/**
3065 * @category struct transformations

Callers 2

ReadonlyMapFromRecordFunction · 0.85
MapFromRecordFunction · 0.85

Calls 1

makeRecordClassFunction · 0.85

Tested by

no test coverage detected