MCPcopy
hub / github.com/go-yaml/yaml / is_space

Function is_space

yamlprivateh.go:108–110  ·  view source on GitHub ↗

Check if the character at the specified position is space.

(b []byte, i int)

Source from the content-addressed store, hash-verified

106
107// Check if the character at the specified position is space.
108func is_space(b []byte, i int) bool {
109 return b[i] == ' '
110}
111
112// Check if the character at the specified position is tab.
113func is_tab(b []byte, i int) bool {

Calls

no outgoing calls

Tested by

no test coverage detected