Created
April 16, 2015 06:06
-
-
Save TomoyaShibata/555256a376bb3d308a88 to your computer and use it in GitHub Desktop.
is.js の柴田さん独自拡張
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
/** | |
* 値が null または空文字または未定義である | |
* @param v 検証対象値 | |
* @return 検証結果 | |
*/ | |
is.invalidValue = function(v) { | |
return is.null(v) || is.empty(v) || is.undefined(v); | |
}; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment