Skip to content

feature idea: forelse #13

Open
Open
@JustPlayerDE

Description

@JustPlayerDE

This is my first Idea:

forelse:

A basic way to have a way to either check if the table has contents and run a "foreach" or run the code in the empty block otherwise, should end with end

example:

forelse i,k in pairs({}) do
  print(k)
empty
  print("Its Empty :o")
end

more ideas later (im thinking)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions