1 2 3 4 5 6 7 8 9 10 11 12 13
package otto import ( "strconv" ) func (runtime *_runtime) newBooleanObject(value Value) *_object { return runtime.newPrimitiveObject("Boolean", toValue_bool(value.bool())) } func booleanToString(value bool) string { return strconv.FormatBool(value) }