<commit_before>    该微件文档还在紧急编写中,敬请期待!
[inGet()](http://twinh.github.com/widget/api/inGet)
===================================================

Check if the current request method is GET

### Check if the current request method is GET
```php
bool inGet()
```

##### 参数
*无*
<commit_msg>added description & example for inGet widget<commit_after>[inGet()](http://twinh.github.com/widget/api/inGet)
===================================================

检查当前的请求方式是否为GET

### 
```php
bool inGet()
```

##### 参数
*无*


`inGet`微件是`request`微件`inGet`方法的别名.


##### 范例
检查当前的请求方式是否为GET
```php
<?php

if ($widget->inGet()) {
    echo 'The request method is GET';
} else {
    echo 'The request method is not GET';
}
```
##### 输出
```php
'The request method is GET'
```
{'fraction_non_alphanumeric': 0.2996005326231691, 'fraction_numerical': 0.0, 'mean_word_length': 5.266666666666667, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1424059', 'n_tokens_mistral': 304, 'n_tokens_neox': 299, 'n_words': 64}