MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / splitArrayProps

Method splitArrayProps

lib/compiler-finder.ts:197–199  ·  view source on GitHub ↗
(propName: string, split: string)

Source from the content-addressed store, hash-verified

195 return parentProps(langId, propName, defaultValue);
196 };
197 const splitArrayProps = (propName: string, split: string) => {
198 return props<string | undefined>(propName)?.split(split);
199 };
200 const splitArrayPropsOrEmpty = (propName: string, split: string) => {
201 const value = props<string>(propName, '');
202 return value === '' ? [] : value.split(split);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected