Function isHook

  • Check if a method is marked as a hook

    Parameters

    • target: any
    • propertyKey: string | symbol

    Returns boolean