Skip to content

Expression Proposal: IN - Checks the existence of element in an Array #73

Description

@lakhbawa

Type of Expression: Array Function
Return Type: Boolean
Case Sensitive: Yes

Expression Example:
@in('Ten', array(5, 34, 'Ten')) -> TRUE
@in('ten', array(5, 34, 'Ten') -> FALSE
@in(5, array(5, 34, 'Ten') -> TRUE
@in(5, array('5', 34, 'Ten') -> TRUE
@in('5', array(5, 34, 'Ten') -> TRUE

Common Use Case:
This expression can be used to find the existence of specific words/characters in a given array of possible options

Activity

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