Lines Matching refs:if
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
99 // Assert that this code is never executed (i.e., always fails if executed).
117 if (value === 0 && (1 / value) < 0) return "-0";
124 if (value === null) return "null";
143 if (name) return name + "()";
152 if (value === undefined && !(index in array)) return "";
159 if (name_opt) {
175 if (!deepEquals(aProps, bProps)) {
179 if (!deepEquals(a[aProps[i]], b[aProps[i]])) {
188 if (a === b) {
190 if (a === 0) return (1 / a) === (1 / b);
193 if (typeof a != typeof b) return false;
194 if (typeof a == "number") return isNaN(a) && isNaN(b);
195 if (typeof a !== "object" && typeof a !== "function") return false;
198 if (objectClass !== classOf(b)) return false;
199 if (objectClass === "RegExp") {
204 if (objectClass === "Function") return false;
205 if (objectClass === "Array") {
207 if (a.length != b.length) {
211 if (!deepEquals(a[i], b[i])) return false;
215 if (objectClass == "String" || objectClass == "Number" ||
217 if (a.valueOf() !== b.valueOf()) return false;
226 if (found === expected) {
227 if (expected !== 0 || (1 / expected) == (1 / found)) return;
228 } else if ((expected !== expected) && (found !== found)) {
236 if (!deepEquals(found, expected)) {
244 if (name_opt) {
248 if (expected.length == found.length) {
260 if (!deepObjectEquals(expected, found)) {
268 if (expected != String(found)) {
285 if (value !== null) {
292 if (value === null) {
301 if (typeof code == 'function') {
308 if (typeof type_opt == 'function') {
311 if (arguments.length >= 3) {
322 if (!(obj instanceof type)) {
325 if (typeof actualConstructor == "function") {
337 if (typeof code == 'function') {
350 if (name_opt) {