This website works better with JavaScript.
Explore
Help
Sign In
mathieu.grousseau
/
Connect4-UI
Watch
1
Star
0
Fork
You've already forked Connect4-UI
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4b2052e2c0
main
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '4b2052e2c0'
${ noResults }
Connect4-UI
/
App
/
App
/
Utils
/
String.swift
12 lines
160 B
Raw
Blame
History
import
Foundation
extension
String
{
var
nilIfEmpty
:
Self
?
{
if
self
.
isEmpty
{
nil
}
else
{
self
}
}
}
Reference in new issue
View Git Blame
Copy Permalink