Skip to main content

ValidationDeleteLock

Callable

  • ValidationDeleteLock(property: ItemProperties, verbose?: boolean): boolean

  • Completely removes a lock from an item's Property object. This removes all lock-related properties, and the "Lock" effect from the property object.


    Parameters

    • property: ItemProperties

      The Property object to remove the lock from

    • verbose: boolean = true

      Whether or not to print console warnings when properties are deleted. Defaults to true.

    Returns boolean

    • TRUE if the Property object was modified as a result of the lock deletion (indicating that at least one lock-related property was present), FALSE otherwise