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