Namespace: is

just.is(value, ...otherValuesopt) → {boolean}

Checks if value looks like the other values.
Source:
check.js, line 18

Parameters:

NameTypeDescription
value
AnyComparison value.
otherValues
[optional] [repeatable]
AnyValues to check against.

Returns:

`true` if some other value looks like value.
Type
boolean

Example

just.check(null, {}, "null", []); // false. Neither is `null`.
just.check({}, [], {}); // true. {} is {}.