MCPcopy Create free account
hub / github.com/GNOME/gjs / argumentsIncludeComments

Function argumentsIncludeComments

modules/script/jsUnit.js:54–56  ·  view source on GitHub ↗
(expectedNumberOfNonCommentArgs, args)

Source from the content-addressed store, hash-verified

52}
53
54function argumentsIncludeComments(expectedNumberOfNonCommentArgs, args) {
55 return args.length == expectedNumberOfNonCommentArgs + 1;
56}
57
58function commentArg(expectedNumberOfNonCommentArgs, args) {
59 if (argumentsIncludeComments(expectedNumberOfNonCommentArgs, args))

Callers 2

commentArgFunction · 0.85
nonCommentArgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected