MCPcopy Index your code
hub / github.com/nodejs/node / getInput

Function getInput

benchmark/util/normalize-encoding.js:29–44  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

27});
28
29function getInput(input) {
30 switch (input) {
31 case 'group_common':
32 return groupedInputs.group_common;
33 case 'group_upper':
34 return groupedInputs.group_upper;
35 case 'group_uncommon':
36 return groupedInputs.group_uncommon;
37 case 'group_misc':
38 return groupedInputs.group_misc;
39 case 'undefined':
40 return [undefined];
41 default:
42 return [input];
43 }
44}
45
46function main({ input, n }) {
47 const { normalizeEncoding } = require('internal/util');

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…