MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / toString

Method toString

projects/JavaScript/proto/proto.js:1941–1954  ·  view source on GitHub ↗

* Convert struct to string * @this {!Balance} * @returns {!string} Struct value string

()

Source from the content-addressed store, hash-verified

1939 * @returns {!string} Struct value string
1940 */
1941 toString () {
1942 let result = ''
1943 result += 'Balance('
1944 result += 'currency='
1945 if (this.currency != null) {
1946 result += '"' + this.currency.toString() + '"'
1947 } else {
1948 result += 'null'
1949 }
1950 result += ',amount='
1951 result += this.amount.toString()
1952 result += ')'
1953 return result
1954 }
1955
1956 /**
1957 * Inspect struct

Callers 1

[util.inspect.custom]Method · 0.95

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected