You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
327 B
12 lines
327 B
"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");
|
|
};
|