MCPcopy
hub / github.com/urfave/cli / Len

Method Len

args.go:17–17  ·  view source on GitHub ↗

Len returns the length of the wrapped slice

()

Source from the content-addressed store, hash-verified

15 Tail() []string
16 // Len returns the length of the wrapped slice
17 Len() int
18 // Present checks if there are any arguments present
19 Present() bool
20 // Slice returns a copy of the internal slice

Callers 12

Test_Help_Custom_FlagsFunction · 0.65
Test_Help_Nil_FlagsFunction · 0.65
TestBoolWithInverseNamesFunction · 0.65
TestFlagsByNameFunction · 0.65
TestParseAndRunShortOptsFunction · 0.65
TestCommand_SetStdoutFunction · 0.65
TestCommand_ArgsFunction · 0.65
NArgMethod · 0.65

Implementers 1

Calls

no outgoing calls

Tested by 11

Test_Help_Custom_FlagsFunction · 0.52
Test_Help_Nil_FlagsFunction · 0.52
TestBoolWithInverseNamesFunction · 0.52
TestFlagsByNameFunction · 0.52
TestParseAndRunShortOptsFunction · 0.52
TestCommand_SetStdoutFunction · 0.52
TestCommand_ArgsFunction · 0.52