mirror of
https://github.com/hex248/ob248.com.git
synced 2026-02-08 10:43:38 +00:00
Delete node_modules directory
This commit is contained in:
14
node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js
generated
vendored
14
node_modules/eslint/lib/rules/utils/unicode/is-surrogate-pair.js
generated
vendored
@@ -1,14 +0,0 @@
|
||||
/**
|
||||
* @author Toru Nagashima <https://github.com/mysticatea>
|
||||
*/
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* Check whether given two characters are a surrogate pair.
|
||||
* @param {number} lead The code of the lead character.
|
||||
* @param {number} tail The code of the tail character.
|
||||
* @returns {boolean} `true` if the character pair is a surrogate pair.
|
||||
*/
|
||||
module.exports = function isSurrogatePair(lead, tail) {
|
||||
return lead >= 0xd800 && lead < 0xdc00 && tail >= 0xdc00 && tail < 0xe000;
|
||||
};
|
||||
Reference in New Issue
Block a user