Socket
Socket
Sign inDemoInstall

is-upper-case

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-upper-case

Returns `true` if the string is upper case only.


Version published
Maintainers
1
Weekly downloads
4,312,447
decreased by-6.75%

Weekly downloads

Readme

Source

Is Upper Case

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

Keywords

FAQs

Last updated on 30 Sep 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc