Method
toJSON
* Convert enum to JSON * @this {!EnumTyped} * @returns {!number} Enum value for JSON
()
Source from the content-addressed store, hash-verified
| 324 | * @returns {!number} Enum value for JSON |
| 325 | */ |
| 326 | toJSON () { |
| 327 | return this.value |
| 328 | } |
| 329 | |
| 330 | /** |
| 331 | * Create enum from object value |
Tested by
no test coverage detected