Preview environment

function resolveSKUId

export function resolveSKUId(resolvable: SKUResolvable): Snowflake | null;

Resolves a SKU id from a SKU resolvable.

Returns: The resolved SKU id, or null if the resolvable was invalid

Parameters

resolvable: SKUResolvable
The SKU resolvable to resolve