Repository URL to install this package:
|
Version:
6.0.4 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var curry_1 = require("../fp/curry");
/**
* @memberOf string
* @name charCodeAt
* @version 5.0.0 <- moved from util to string
* @since 4.0.0
*
* @param {string} str string to getCharCodeAt
* @return {number}
*
* @example charCodeAt('eh') //=> code for e
*/
exports.default = curry_1.default(2, function (str, index) { return str.charCodeAt(index); });
//# sourceMappingURL=charCodeAt.js.map