> ## Documentation Index
> Fetch the complete documentation index at: https://hangulpy.uiharu.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# 초성/종성 사용 가능 여부 (can_be_chosung, can_be_jongsung)

> 자모를 초성이나 종성으로 사용할 수 있는지 확인

## can\_be\_chosung

초성 테이블에 들어갈 수 있는 자모인지 확인합니다.

```python theme={null}
can_be_chosung(char: str) -> bool
```

## can\_be\_jongsung

종성 테이블에 들어갈 수 있는 자모인지 확인합니다.

```python theme={null}
can_be_jongsung(char: str) -> bool
```

## 예시

```python theme={null}
from hangulpy import can_be_chosung, can_be_jongsung

print(can_be_chosung("ㄸ"))  # True
print(can_be_chosung("ㄳ"))  # False
print(can_be_jongsung("ㄳ"))  # True
print(can_be_jongsung("ㄸ"))  # False
```

## 같이 보기

* [완성형과 자모 판별](syllable-types)
* [hangul\_syllable](../assembly/hangul-syllable)
