PreHook<T>: ((args) => boolean)

A hook that is triggered just before a modification of the shape's points. If the hook returns false, the operation is not performed.

Type Parameters

  • T

Type declaration

    • (args): boolean
    • Parameters

      • args: T

      Returns boolean