hasSleepAbility

Requires:
@ray-js/lock-sdk≥1.0.0

Method signature
hasSleepAbility()

Description

Check whether the lock supports the sleep feature

Parameters

None

Return Value

Type: boolean
Whether the sleep feature is supported

Examples

import { hasSleepAbility } from '@ray-js/lock-sdk';
const able = hasSleepAbility();