Helios API/ API Reference/ Classes/
Source
A Source instance wraps a string so we can use it cheaply as a reference inside a Site. Also used by VSCode plugin
Index
Constructors
constructor
• new Source(raw
, name
)
Parameters
Name | Type |
---|---|
raw | string |
name | string |
Accessors
errors
• get
errors(): Error
[]
Returns
Error
[]
Methods
throwErrors
▸ throwErrors(): void
Returns
void
transfer
▸ transfer(other
): any
Parameters
Name | Type |
---|---|
other | TransferUplcAst |
Returns
any