Need help with script syntax for my MV project!

Hi everyone! Im new here. I wonder if someone can help me figure out a way to write an easy script.. i got issue with the syntax.

First im using a script to desactivate temporaly the use of a button (key 'down' for this example) during the game and works very well:

for (let [key, value] of Object.entries(Input.keyMapper)) {
(value == 'down') {
Input.keyMapper[98] = null;
}
}

That just literally remove that key from the game core... And when i wanna put it back i simply do this in script:

Input.keyMapper[98] = 'down';

Works well. My problem is that I need a script to check if the value of [98] is null. Something like that:

If keyMapper[98] == null;
Then show text or something...

Please help my redact the good syntax! Thanks all! 🙂
if (Input.keyMapper[98] === null)
if (Input.keyMapper[98] === null)
Nice thanks a lot man! Im trying it!

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-script-syntax-for-my-mv-project.144985/