40 lines
416 B
Markdown
40 lines
416 B
Markdown
|
---
|
||
|
title: true
|
||
|
description: True
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: true
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
True
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [True](../types/True.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```php
|
||
|
$true = ['_' => 'true'];
|
||
|
```
|
||
|
|
||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||
|
|
||
|
```
|
||
|
{"_": "true"}
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
```lua
|
||
|
true={_='true'}
|
||
|
|
||
|
```
|
||
|
|
||
|
|