Skip to content

DoCurious API Reference / types / getParentCategory

Function: getParentCategory()

getParentCategory(subcategorySlug): ParentCategoryDef | undefined

Defined in: types/challenge.types.ts:219

Look up which parent category a subcategory slug belongs to.

Parameters

subcategorySlug

string

Returns

ParentCategoryDef | undefined

DoCurious Platform Documentation