Skip to content

ebaker355/Unless.swift

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unless.swift

Unless this, do that

Unless.swift is a µ-framework, or rather an n-framework, that provide syntactic sugar to write code that reads like "unless this do that".

unless(condition) { 
  doSomething()
}

It's inspired by Ruby's unless operator:

unless condition do
  do_something
end

About

Unless this do that

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%