Merge pull request #5103 from stpettersens/master

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