Saltar al contenido principal
Versión: 0.18.0

Function: parseId()

function parseId(id):
| {
slug: string;
type: string;
}
| null;

Defined in: core/knowledgeStore.ts:213

type/slug split, or null when it isn't one.

Parameters​

ParameterType
idstring

Returns​

| { slug: string; type: string; } | null