Player's Speed stored in Variable

Is there a javascript eval that can be used for variables that store the player's current speed that can be used to check if they are running or not?

I know a simple solution is to check if the player is pressing shift, but many players prefer to use Auto-Run.
$gamePlayer._movingSpeed or _moveSpeed if I'm correct. You can find it if you open the dev tools in game (f8), type in $gamePlayer, hit enter and explore what it returns.
It works, but apparently, MV doesn't detect a change in movement speed while the player is dashing. But your post did lead me in the right direction.

A simple conditional branch check
$gamePlayer.isDashing()
solved my issue. So the post can be considered solved.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/players-speed-stored-in-variable.107199/