Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

skava / chain-able-lego   js

Repository URL to install this package:

Version: 6.0.4 

/ src / atIs.ts

import { pipeTwo, charCodeAtZero } from 'chain-able-deps'
// const firstToUpperCase = require('../string/firstToUpperCase')
// const isString = require('../is/stringPrimitive')
// const isObj = require('../is/obj')
// const toObjStringTag = require('./toObjStringTag')
// const toKindOf = require('./toKindOf')

// --- string ---
const firstIsLowerCase = pipeTwo(charCodeAtZero, c => c >= 97 && c <= 122)

// --- later ---
// const firstIsUpperCase = pipeTwo(charCodeAtZero, c => c >= 65 && c <= 90)
// const isStringWithFirstUpperCase = x => isString(x) && firstIsUpperCase(x)
// const isStringWithFirstLowerCase = x => isString(x) && firstIsLowerCase(x)
// const isObjectStringTag = x =>
//   isStringWithFirstUpperCase(x) && nativeNamesHas(x)

// firstIsLowerCase.firstIsLowerCase = firstIsLowerCase
// module.exports = firstIsLowerCase

export { firstIsLowerCase }
export default firstIsLowerCase