Currently we exposed global numeric cast function that makes sense for Android platform only.
Example:
x.f(byte(5));
Alternatives:
- x.f(__byte(5)); // use double underscore
- x.f(Number.byte(5)); // attach cast functions to Number instead of the global object
- x.f(SomeSpecificTNSObject.byte(5)); //attach cast functions to SomeSpecificTNSObject instead of the global object
- ... // add any other viable alternative
Currently we exposed global numeric cast function that makes sense for Android platform only.
Example:
x.f(byte(5));
Alternatives: