(args: {
name: string;
body?: (args: Value[]) => Value;
arglist?: ListValue;
dict?: DictionaryValue;
})
| 85 | } |
| 86 | |
| 87 | export function funcref(args: { |
| 88 | name: string; |
| 89 | body?: (args: Value[]) => Value; |
| 90 | arglist?: ListValue; |
| 91 | dict?: DictionaryValue; |
| 92 | }): FuncRefValue { |
| 93 | return { |
| 94 | type: 'funcref', |
| 95 | ...args, |
| 96 | id: funcIdGen.next(), |
| 97 | }; |
| 98 | } |
| 99 | |
| 100 | export function blob(data: Uint8Array<ArrayBuffer>): BlobValue { |
| 101 | return { |
no test coverage detected