← go back

Been using Swift for this day

infix operator => : NilCoalescingPrecedence
extension Bool {
	static func => (p: Bool, q: Bool) -> Bool {
		return !p || q
	}
}

Apparently this is a thing?

Mar 5, 2024, 6:12 PM (edited)
2 0 0

Comments