MCPcopy Create free account
hub / github.com/nodejs/node / assert_in_array

Function assert_in_array

deps/v8/test/wasm-js/third_party/testharness.js:1185–1190  ·  view source on GitHub ↗
(actual, expected, description)

Source from the content-addressed store, hash-verified

1183 expose(assert_not_equals, "assert_not_equals");
1184
1185 function assert_in_array(actual, expected, description)
1186 {
1187 assert(expected.indexOf(actual) != -1, "assert_in_array", description,
1188 "value ${actual} not in array ${expected}",
1189 {actual:actual, expected:expected});
1190 }
1191 expose(assert_in_array, "assert_in_array");
1192
1193 // This function was deprecated in July of 2015.

Callers

nothing calls this directly

Calls 2

assertFunction · 0.70
indexOfMethod · 0.45

Tested by

no test coverage detected