You didn't ask me, but I can say that Manhattan and Brooklyn both are great for kids. It does vary be neighborhood though and I can speak to Brooklyn the most. Overall great parks, good schools, lots of culture and things to do. Beaches accessible by subway etc.
If you are considering a move to NYC with young kids the real thing to look at are the public elementary schools and the zones for them. That should be the north star for choosing where to live unless your kids are older.