linwenling
2023-08-15 f43554d828bc2212c5d7118d7de5ebcc57d1c6f3
1
2
3
4
5
'use strict';
 
module.exports = function isLeadingSurrogate(charCode) {
    return typeof charCode === 'number' && charCode >= 0xD800 && charCode <= 0xDBFF;
};