Skip to content

Commit

Permalink
Replaces "{Boolean}" occurrences with "{boolean}"
Browse files Browse the repository at this point in the history
Primitive types should be documented with lowercase.
  • Loading branch information
mairatma committed Aug 8, 2016
1 parent e26b84f commit 80fe1ea
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/metal/src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class core {
/**
* Returns true if value is not undefined or null.
* @param {*} val
* @return {Boolean}
* @return {boolean}
*/
static isDefAndNotNull(val) {
return core.isDef(val) && !core.isNull(val);
Expand All @@ -113,7 +113,7 @@ class core {
/**
* Returns true if value is a document.
* @param {*} val
* @return {Boolean}
* @return {boolean}
*/
static isDocument(val) {
return val && typeof val === 'object' && val.nodeType === 9;
Expand All @@ -122,7 +122,7 @@ class core {
/**
* Returns true if value is a dom element.
* @param {*} val
* @return {Boolean}
* @return {boolean}
*/
static isElement(val) {
return val && typeof val === 'object' && val.nodeType === 1;
Expand All @@ -140,7 +140,7 @@ class core {
/**
* Returns true if value is null.
* @param {*} val
* @return {Boolean}
* @return {boolean}
*/
static isNull(val) {
return val === null;
Expand All @@ -158,7 +158,7 @@ class core {
/**
* Returns true if value is a window.
* @param {*} val
* @return {Boolean}
* @return {boolean}
*/
static isWindow(val) {
return val !== null && val === val.window;
Expand All @@ -178,7 +178,7 @@ class core {
/**
* Returns true if value is a Promise.
* @param {*} val
* @return {Boolean}
* @return {boolean}
*/
static isPromise(val) {
return val && typeof val === 'object' && typeof val.then === 'function';
Expand Down

0 comments on commit 80fe1ea

Please sign in to comment.