Skip to content

Adding Math.sign() #6205

@Enyium

Description

@Enyium

Please add Math.sign(), which returns -1, 0, or 1, and should accept various data types. It is also available in browsers. I needed it with a custom component wrapping SpinBox and changing its behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    a:language-slintCompiler for the .slint language (mO,bF)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions