Skip to content

IN operator #27

@hrach

Description

@hrach

I would like to use something like:

{if $entry->type in [image, video]}

to be transformed to

if (in_array($entry->type, ['image', 'video'], TRUE)) {

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions