Srch.U.isEnterKey Method (DisplayTemplatesSrch)

Indicates whether the specified key code is the Enter button’s code or not.

Srch.U.isEnterKey(keyCode)

Return value

true if the key code is not null and equal to the ‘\r’ or ‘\n’ character; false otherwise.

Parameters

  • keyCode
    The key code to test.