Skip to content

Explore the option to replace cast functions (e.g byte, short, etc.) in Android with other alternatives #17

Description

@slavchev

Currently we exposed global numeric cast function that makes sense for Android platform only.

Example:
x.f(byte(5));

Alternatives:

  1. x.f(__byte(5)); // use double underscore
  2. x.f(Number.byte(5)); // attach cast functions to Number instead of the global object
  3. x.f(SomeSpecificTNSObject.byte(5)); //attach cast functions to SomeSpecificTNSObject instead of the global object
  4. ... // add any other viable alternative

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions