Activity.prototype.getTarget(options?: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; suppressError?: boolean; tracerProvider?: TracerProvider; crossOrigin?: "ignore" | "throw" | "trust"; }): Promise<Object | null>
Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John's wishlist. An activity can have more than one target.
Parameters
Return Type
Use with
Deno
Deno
pnpm
Yarn
vlt
npm
Bun
Add Package
deno add jsr:@fedify/vocab
Import symbol
import { Activity } from "@fedify/vocab";
or
Import directly with a jsr specifier
import { Activity } from "jsr:@fedify/vocab@^2.3.6";