This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
admin-panel/graphql-types/node_modules/is-upper-case
2021-03-09 19:44:13 +01:00
..
dist add configured graphql-codegen 2021-03-09 19:44:13 +01:00
dist.es2015 add configured graphql-codegen 2021-03-09 19:44:13 +01:00
LICENSE add configured graphql-codegen 2021-03-09 19:44:13 +01:00
package.json add configured graphql-codegen 2021-03-09 19:44:13 +01:00
README.md add configured graphql-codegen 2021-03-09 19:44:13 +01:00

Is Upper Case

NPM version NPM downloads Bundle size

Returns true if the string is upper case only.

Installation

npm install is-upper-case --save

Usage

import { isUpperCase } from "is-upper-case";

isUpperCase("string"); //=> false
isUpperCase("dot.case"); //=> false
isUpperCase("PascalCase"); //=> false
isUpperCase("CONSTANT_CASE"); //=> true

License

MIT