Variable parseNamespacedKeyConst
parseNamespacedKey: (
key: string,
opts?: { separator?: string },
) => { id: string; type: string } | null
Type Declaration
-
- (
key: string,
opts?: { separator?: string },
): { id: string; type: string } | null
-
Parameters
- key: string
Optionalopts: { separator?: string }
Returns { id: string; type: string } | null
Split a flat namespaced key on the first separator.