MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / toArray

Function toArray

lib/helper/WebDriver.js:3184–3189  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

3182}
3183
3184function toArray(item) {
3185 if (!Array.isArray(item)) {
3186 return [item]
3187 }
3188 return item
3189}
3190
3191async function proceedSeeCheckbox(assertType, field) {
3192 const res = await findFields.call(this, field)

Callers 1

proceedMultipleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected