Skip to content

detectType() function in the BitBadges TypeScript SDK (bitbadges on npm): signature, properties, methods, and usage.

detectType(standards, hasBackingPath): string

Defined in: packages/bitbadgesjs-sdk/src/core/interpret-shared.ts:305

Detect collection type from standards array and backing path

Parameters

standards

string[]

hasBackingPath

boolean

Returns

string

Edit this page on GitHub