• Parameters

    • block: Block
    • matches:
          | { id: string; states?: { [id: string]: string
          | number
          | boolean } }
          | { id: string; states?: { [id: string]: string | number | boolean } }[]

    Returns boolean | () => boolean

    • boolean
    • () => boolean
        • (): boolean
        • Returns boolean

          True if this block object is still working and valid.

          Returns true if this reference to a block is still valid (for example, if the block is unloaded, references to that block will no longer be valid.)