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

Method toString

projects/JavaScript/proto/protoex.js:861–886  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

859 * @returns {!string} Struct value string
860 */
861 toString () {
862 let result = ''
863 result += 'Order('
864 result += 'id='
865 result += this.id.toString()
866 result += ',symbol='
867 if (this.symbol != null) {
868 result += '"' + this.symbol.toString() + '"'
869 } else {
870 result += 'null'
871 }
872 result += ',side='
873 result += this.side.toString()
874 result += ',type='
875 result += this.type.toString()
876 result += ',price='
877 result += this.price.toString()
878 result += ',volume='
879 result += this.volume.toString()
880 result += ',tp='
881 result += this.tp.toString()
882 result += ',sl='
883 result += this.sl.toString()
884 result += ')'
885 return result
886 }
887
888 /**
889 * Inspect struct

Callers 15

[util.inspect.custom]Method · 0.95
toStringMethod · 0.45
toStringMethod · 0.45
toStringMethod · 0.45
toStringMethod · 0.45
toStringMethod · 0.45
send_OrderMessageMethod · 0.45
send_BalanceMessageMethod · 0.45
send_AccountMessageMethod · 0.45
onReceiveMethod · 0.45
send_OrderMessageMethod · 0.45
send_BalanceMessageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected