Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

111
Views
Processing multiple conditio in an IF Statement

I am trying to write a conditional statement that will check to see if session.play_type is not true and that a session.sku is not present.

Example of what I'm trying to do. If, { condition: session.play_type != 'm_only' && session.sku != 2101-10 || 2101-31 || 2101-12 || 2101-21 || 2101-20 }

React.createElement(
    If,
    { condition: session.play_type != 'm_only'},
    React.createElement(
        If,
        { condition: session.showDown == true },
        React.createElement(
            If,
            { condition: session.s3_down != '' },
            React.createElement(
                'a',
                { className: 'btn btn-dark btn-popover', href: "javascript:sendGoogle('" + session.event + "','" + removeApos(session.title) + "','" + session.sku + "','" + session.s3_down + "');", 'data-toggle': 'popover', 'data-trigger': 'focus', title: 'Download', 'data-content': '' },
                React.createElement('i', { className: 'fa fa-download' })
            )
        )
    )
),
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!