MCPcopy Index your code
hub / github.com/koding/kite / Bool

Method Bool

dnode/partial.go:102–105  ·  view source on GitHub ↗

Bool is a helper to unmarshal a JSON Boolean.

()

Source from the content-addressed store, hash-verified

100
101// Bool is a helper to unmarshal a JSON Boolean.
102func (p *Partial) Bool() (b bool, err error) {
103 err = p.Unmarshal(&b)
104 return
105}
106
107// Function is a helper to unmarshal a callback function.
108func (p *Partial) Function() (f Function, err error) {

Callers 3

MustBoolMethod · 0.95
main.goFile · 0.80
main.goFile · 0.80

Calls 1

UnmarshalMethod · 0.95

Tested by

no test coverage detected