$ gnpm install is-upper-case
Returns
true
if the string is upper case only.
npm install is-upper-case --save
import { isUpperCase } from "is-upper-case";
isUpperCase("string"); //=> false
isUpperCase("dot.case"); //=> false
isUpperCase("PascalCase"); //=> false
isUpperCase("CONSTANT_CASE"); //=> true
MIT
Copyright 2013 - present © cnpmjs.org | Home |