Skip to content

Conversation

bedfir
Copy link

@bedfir bedfir commented Sep 10, 2024

The === operator, which checks for strict equality, is fully supported and can be used to ensure that both the value and type are identical. as discussed with @stof

The === operator, which checks for strict equality, is fully supported and can be used to ensure that both the value and type are identical.
@xabbuh
Copy link
Member

xabbuh commented Sep 10, 2024

Wäre did you read that there is a === in the expression language?

@stof
Copy link
Member

stof commented Sep 10, 2024

@stof
Copy link
Member

stof commented Sep 10, 2024

And while I thought it was added later, it has actually always been part of it: symfony/symfony@9d98fa2#diff-213c715dc90e4ff7b4ea28e4eb30e7a553f2085a9a4fd7e7ee1b80544eaee8d6R54

@bedfir
Copy link
Author

bedfir commented Sep 10, 2024

I think I misunderstood the doc.
i understood that strict equality === doesn't work with expressions.

@bedfir bedfir closed this Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants