MCPcopy Index your code
hub / github.com/microsoft/vscode-languageserver-node / undefinedToNull

Function undefinedToNull

jsonrpc/src/main.ts:828–834  ·  view source on GitHub ↗
(param: any)

Source from the content-addressed store, hash-verified

826 }
827
828 function undefinedToNull(param: any) {
829 if (param === void 0) {
830 return null;
831 } else {
832 return param;
833 }
834 }
835
836 function computeMessageParams(type: MessageType, params: any[]): any | any[] | null {
837 let result: any | any[] | null;

Callers 2

computeMessageParamsFunction · 0.85
_createMessageConnectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected