MCPcopy Create free account
hub / github.com/activejs/activejs / isValidId

Function isValidId

packages/core/src/utils/funcs.ts:18–20  ·  view source on GitHub ↗
(id: any)

Source from the content-addressed store, hash-verified

16 * @internal please do not use.
17 */
18export function isValidId(id: any): id is string {
19 return typeof id === 'string' && !!id.trim().length;
20}
21
22/**
23 * @internal please do not use.

Callers 3

constructorFunction · 0.90
generateAsyncSystemIdsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected