Merge pull request #5111 from stpettersens/master

Type definitions and tests for is-upper-case
This commit is contained in:
Horiuchi_H
2015-07-29 10:06:28 +09:00
2 changed files with 16 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
/// <reference path="is-upper-case.d.ts" />
import isUpperCase = require('is-upper-case')
console.log(isUpperCase('STRING')); // => true
console.log(isUpperCase('String')); // => false
console.log(isUpperCase('string')); // => false
+9
View File
@@ -0,0 +1,9 @@
// Type definitions for is-upper-case
// Project: https://github.com/blakeembrey/is-upper-case
// Definitions by: Sam Saint-Pettersen <https://github.com/stpettersens>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module "is-upper-case" {
function isUpperCase(string: string, locale?: string): boolean;
export = isUpperCase;
}