Function getContextActivities
- getContextActivities(path, getEnglishName): undefined | {
grouping?: undefined;
parent: {
definition: {
name: {
en: string;
};
type: string;
};
id: string;
}[];
} | {
grouping: {
definition: {
name: {
en: string;
};
type: string;
};
id: string;
}[];
parent: {
definition: {
name: {
en: string;
};
type: string;
};
id: string;
}[];
}
-
Parameters
-
path: string
-
getEnglishName: ((key) => string)
-
- (key): string
-
Returns string
Returns undefined | {
grouping?: undefined;
parent: {
definition: {
name: {
en: string;
};
type: string;
};
id: string;
}[];
} | {
grouping: {
definition: {
name: {
en: string;
};
type: string;
};
id: string;
}[];
parent: {
definition: {
name: {
en: string;
};
type: string;
};
id: string;
}[];
}
- The contextActivities part of an xAPI statement.
getContextActivities function.