Skip to content

No casting available #505

Open
Open
@giorgosnty

Description

@giorgosnty

Describe the bug
Casting is not available in BL.

Example:
const startingYear: int32 = startingDateString.split('/').pop();
This one gives error

Solution
We should have something like
const startingYear: int32 = startingDateString.split('/').pop().toInt();
or
const startingYear: int32 = (int32) startingDateString.split('/').pop();

Expected behavior
A clear and concise description of what you expected to happen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions