function closure compare

tasanobutasanobu のブックマーク 2015/06/04 13:14

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

How do you test functions and closures for equality?

    The book says that "functions and closures are reference types". So, how do you find out if the references are equal? == and === don't work. func a() { } let å = a let b = å === å // Could not find...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう