Skip to content

@aldea/compiler / "aldea/caller" / caller

Namespace: caller ​

"aldea/caller".caller

Table of contents ​

Functions ​

Functions ​

getClassOrFail ​

▸ getClassOrFail(): ArrayBuffer

Returns the Output class (pointer) of the caller, or throws an error when the caller has no output.

Returns ​

ArrayBuffer

Defined in ​

index.d.ts:175


getLocationOrFail ​

▸ getLocationOrFail(): ArrayBuffer

Returns the Output location of the caller, or throws an error when the caller has no output.

Returns ​

ArrayBuffer

Defined in ​

index.d.ts:170


getOriginOrFail ​

▸ getOriginOrFail(): ArrayBuffer

Returns the Output origin of the caller, or throws an error when the caller has no output.

Returns ​

ArrayBuffer

Defined in ​

index.d.ts:165


getOutputOrFail ​

▸ getOutputOrFail(): Output

Returns the Output object of the caller, or throws an error when the caller has no output.

Returns ​

Output

Defined in ​

index.d.ts:160


hasOutput ​

▸ hasOutput(): bool

Returns true if the caller has an output.

Returns ​

bool

Defined in ​

index.d.ts:155


is ​

▸ is<T>(exact?): bool

Returns true if the caller is an instance of the given generic type.

When the exact option is false (default) it behaves like the instanceof keyword and returns true if the caller is and instance of, or a descendent of, the generic type. When exact is true it only matches against the exact type.

Type parameters ​

Name
T

Parameters ​

NameType
exact?bool

Returns ​

bool

Defined in ​

index.d.ts:151