How do I check if Vim is compiled as 64-bit or 32-bit from within vimscript? Specifically on Windows.
How to check whether Vim is built as a 32-bit or 64-bit application?
vimscript;microsoft windows;version
Testing the value of has(win64) should tell you. See:help has():help feature-listand search for 64.