This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 用于从各种应用/网页跳转到Infuse对应影视详情页的快捷指令。目前支持Trakt,SofaTime,FilmNoir,IMDb,TMDB,豆瓣。 | |
| 在支持的应用/网页中点击分享,然后选择跳转Infuse快捷指令即可。 | |
| 作者: DJ | |
| 快捷指令地址: https://www.icloud.com/shortcuts/4bc1ac30ab5246ac86b2ce1d0a6c565f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| typealias 布尔类型 = Boolean | |
| fun main(vararg args: String) { | |
| val 返回值 = ("42" == "真理") 问号 "是的,我看过《银河系漫游指南》" 冒号 "瞎扯啥" | |
| println(返回值) // 瞎扯啥 | |
| } | |
| class 三块钱表达式<out 任意类型>(val 布尔值: 布尔类型, val 真值: 任意类型) | |
| infix fun <任意类型> 布尔类型.问号(真值: 任意类型) = 三块钱表达式(this, 真值) | |
| infix fun <任意类型> 三块钱表达式<任意类型>.冒号(假值: 任意类型) = if (布尔值) 真值 else 假值 |