MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / concat

Function concat

packages/core/trace/index.ts:209–221  ·  view source on GitHub ↗
(...args: any)

Source from the content-addressed store, hash-verified

207 export const All: string = [VisualTreeEvents, Layout, Style, ViewHierarchy, NativeLifecycle, Debug, Navigation, Test, Binding, Error, Animation, Transition, Livesync, ModuleNameResolver, MediaQuery].join(separator);
208
209 export function concat(...args: any): string {
210 let result: string;
211 for (let i = 0; i < args.length; i++) {
212 if (!result) {
213 result = args[i];
214 continue;
215 }
216
217 result = result.concat(separator, args[i]);
218 }
219
220 return result;
221 }
222 }
223
224 class ConsoleWriter implements TraceWriter {

Callers

nothing calls this directly

Calls 1

concatMethod · 0.80

Tested by

no test coverage detected