1/** 2 * Check if a key event is for the "Enter" button. 3 * 4 * @param e keypress event object 5 * @returns {boolean} 6 */ 7function isEnterKey(e) { 8 let keycode = (e.keyCode ? e.keyCode : e.which); 9 if (keycode == '13') { 10 return true; 11 } 12 return false; 13} 14 15export default isEnterKey;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.