Home > @magiclane/maps-sdk > GateKeeperService > has
GateKeeperService.has() method
Checks whether or not the SDK has the gate and is available.
Signature:
static has(gate?: Gate): boolean;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
gate |
(Optional) The gate to check, defaults to Gate.core |
Returns:
boolean
True if the gate is available, false otherwise