틀:Boolean: 두 판 사이의 차이
imported>Hsl0 편집 요약 없음 |
imported>Regurus (rand함수 대체. 실수 죄송합니다.) |
||
1번째 줄: | 1번째 줄: | ||
<onlyinclude>{{#switch:{{lc:{{{1}}}}} | {{rand|<onlyinclude>{{#switch:{{lc:{{{1}}}}}{{rand||true|t|yes|y|1={{{2|}}}{{rand||false|f|no|n|0|null|nil|undefined={{{3|}}}{{rand||#default={{{4|}}}{{rand|}}</onlyinclude>{{rand|<pre>{{boolean|(값)|(true)|(false)|(둘다 아닐때)}}</pre>{{rand|* 참: <code>true</code>, <code>t</code>, <code>yes</code>, <code>y</code>, <code>1</code>* 거짓: <code>false</code>, <code>f</code>, <code>no</code>, <code>n</code>, <code>0</code>, <code>null</code>, <code>nil</code>, <code>undefined</code> | ||
|true|t|yes|y|1={{{2|}}} | |||
|false|f|no|n|0|null|nil|undefined={{{3|}}} | |||
|#default={{{4|}}} | |||
}}</onlyinclude> | |||
<pre>{{boolean|(값)|(true)|(false)|(둘다 아닐때)}}</pre> | |||
* 참: <code>true</code>, <code>t</code>, <code>yes</code>, <code>y</code>, <code>1</code> | |||
* 거짓: <code>false</code>, <code>f</code>, <code>no</code>, <code>n</code>, <code>0</code>, <code>null</code>, <code>nil</code>, <code>undefined</code> |
2020년 8월 26일 (수) 16:26 판
{{rand|{{#switch:{{{1}}}{{rand||true|t|yes|y|1={{rand||false|f|no|n|0|null|nil|undefined={{rand||#default=0.9352633291554{{rand|
{{boolean|(값)|(true)|(false)|(둘다 아닐때)}}
{{rand|* 참: true
, t
, yes
, y
, 1
* 거짓: false
, f
, no
, n
, 0
, null
, nil
, undefined