Shortcut key for vim delete function

  question, vim

Does anyone know the method in vim that can delete the entire function quickly (C and js functions, which are curly braces {} anyway)?
V selecting multiple rows to delete or counting the number of rows of a function and then Ndd is inconvenient when the function is very long.

daBYou can delete the entire {} (including {and})