Skip to content

Does Expr have Control flow  #599

Description

@pat3icki

Hey, good day am trying to integrate this into a project as a middleware for the project, I predicted the script is gonna get a little complex, is there a way to have if statements or if-else, I can’t find any documentation or issues about this.
Thanks

Activity

  1. daenney commented on Mar 12, 2024

    @daenney
    Contributor

    As far as I know, Expr only has the ternary statement:

    valueA != valueB ? do-if-true : do-if-false
    

    It's in the Operators.

  2. antonmedv commented on Mar 12, 2024

    @antonmedv
    Member

    Yeap. But I do want to implement if statements as well.

  3. locked and limited conversation to collaborators on Mar 12, 2024
  4. converted this issue into a discussion #601 on Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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