In addition to the size, it will tell the type of swap (partition/file). It appears to give exactly the same output as swapon -s (posted here, but apparently deprecated).
Or
cat /etc/fstab
which will not give you the correct info in the (unusual) case of a swap added manually, as per comment by Carlo Wood.
cf:
are the checks (weather i have swap-file on the eos install active or not - are the checks the same”!?
^ you also have choices of zswap, zram, swap file–think about your needs.
I don’t have a laptop so a regular old swap will do me. If you are getting a new SSD than you can make it in the installer. The also a cli tutorial - that’s what i used to create it live on the spot.