IMQLock.locked() method

Returns true if the given key is locked, false otherwise.

Signature:

static locked(key: string): boolean;

Parameters

Parameter

Type

Description

key

string

key to check the lock state for

Returns:

boolean

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.