Home > @magiclane/maps-sdk > LandmarkStoreCollection > contains

LandmarkStoreCollection.contains() method

Check if the specified category ID from the specified store ID was already added.

Signature:

contains(storeId: number, categoryId: number): boolean;

Parameters

Parameter

Type

Description

storeId

number

The store ID

categoryId

number

The category ID

Returns:

boolean

True if the category ID from the store ID was already added, false otherwise.

Exceptions

An exception if it fails.