reflect.enum.value

Construct one enum row with optional schema metadata.

Reference version

Signature

function reflect.enum.value(
name: string,
alias: string | null = …,
description: string | null = …,
docstring: string | null = …,
other: map<string, string> | null = …
) -> reflect.enum.Value throws never

Construct one enum row with optional schema metadata.

Source:<builtin>/reflect/ns_enum/enum.bamlbytes 193–404