Explorer

core.module-snapshot-part-to-value

description
Turn core.module-snapshot-part into a value of the evaluator (core.value). The inverse of core.value-to-module-snapshot-part (generated by scripts/generate_value_decoders.ts)
type
Fn(value: @core.module-snapshot-part) -> @core.value
expression
fn(value$0) =>
  #record<@core.value>([
    {key: "name", value: #string<@core.value>($0.name)},
    {key: "content_hash", value: #string<@core.value>($0.content_hash)}
  ])
visibility
public
core.module-snapshot-part-to-value (project definy, branch auto-release, snapshot oiQgPqhJm-TbM4kexXeRHBaJB_tS7gwBSewII64P-44)
id: 2roIb8LUlcp3VwDj9I6fKaG6Efzv_LbV5il-92cRhK0
content hash: -F8oxapFxgcSR2MlpMMN9-gCNryBptagq0RhCZdsHdY