Skip to content

charvoa/isThirteenSwift

Repository files navigation

isThirteenSwift

An Swift package to check if a number is equal to 13.

Installation

pod 'isThirteenSwift'

Usage

isThirteen(13).thirteen(); // true

// check your math skillz
isThirteen(4).plus(5).thirteen();      // false
isThirteen(12).plus(1).thirteen();    // true
isThirteen(4).minus(12).thirteen();    // false
isThirteen(14).minus(1).thirteen();    // true
isThirteen(1).times(8).thirteen();    // false
isThirteen(26).divideby(2).thirteen();  //true

License

WTFPL

A helpful tool by Nicolas Charvoz with an original idea from Jezen Thomas with