@kingjs/string-ex.is-upper-case-at

1.0.1 • Public • Published

@kingjs/string-ex.is-upper-case-at

Test if a character at an index in a string is upper case.

Usage

var assert = require('assert');
var IsUpperCaseAt = require('@kingjs/string-ex.is-upper-case-at');

assert('Foo'[IsUpperCaseAt](0) == true);
assert('Foo'[IsUpperCaseAt](1) == false);

API

isUpperCaseAt(this, index)

Parameters

  • this: The string.
  • index: The zero based index at which to test casing.

Returns

Returns true if the character at index is upper case.

Install

With npm installed, run

$ npm install @kingjs/string-ex.is-upper-case-at

Source

https://repository.kingjs.net/string-ex/is-upper-case-at

License

MIT

Analytics

Readme

Keywords

none

Package Sidebar

Install

npm i @kingjs/string-ex.is-upper-case-at

Weekly Downloads

4

Version

1.0.1

License

MIT

Unpacked Size

3.31 kB

Total Files

5

Last publish

Collaborators

  • kingces95