UNPKG
spected
Version:
latest (0.7.2)
0.7.2
0.7.1
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
Validation Library
github.com/25th-floor/spected
25th-floor/spected
spected
/
lib
/
utils
/
warning.js
18 lines
(15 loc)
•
272 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
default
= warning;
/* eslint-disable no-console */
/** * *
@param
{
String
}
message
*/
function
warning
(
message
) {
if
(
console
&&
console
.
warn
) {
console
.
warn
(message); } }