reflect.literal.new
Constructs the literal type matching exactly a string, int, bigint, or bool value.
Reference version
Signature
function reflect.literal.new(value: string | int | bigint | bool) -> reflect.literal.Type throws never
Constructs the literal type matching exactly a string, int, bigint, or bool value.
Source:<builtin>/reflect/ns_literal/literal.bamlbytes 101–194