Skip to content

Documentation / @imvu/chkn / productIdFromUrl

Function: productIdFromUrl() ​

ts
function productIdFromUrl(url): number | null;

Defined in: packages/chkn/src/template.ts:195

The product id of a product://{pid}/… URL, or null.

Parameters ​

ParameterType
urlstring

Returns ​

number | null

Released under the MIT License.