mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 01:45:15 +00:00
12 lines
327 B
JavaScript
12 lines
327 B
JavaScript
|
"use strict";
|
||
|
|
||
|
var identity = require("../../../function/identity")
|
||
|
, noop = require("../../../function/noop");
|
||
|
|
||
|
module.exports = function (t, a) {
|
||
|
a(t.call(identity)(""), true, "Falsy");
|
||
|
a(t.call(noop)(), true, "Undefined");
|
||
|
a(t.call(identity)({}), false, "Any object");
|
||
|
a(t.call(identity)(true), false, "True");
|
||
|
};
|