---
title: "isSemanticallyEqual(): TypeShade 셰이더 API의 도구 분류 함수 참조 문서"
description: "isSemanticallyEqual, TypeShade API의 도구 분류에 속하는 함수입니다. d의 모든 버킷이 비어 있으면 true를 돌려줍니다."
url: https://typeshade.dev/ko/api/issemanticallyequal/
language: ko
---

# `isSemanticallyEqual()`

함수, 도구 분류

d의 모든 버킷이 비어 있으면 true를 돌려줍니다.

`import { isSemanticallyEqual } from 'typeshade'`

설명은 커밋 af54ddad5의 검토된 컴파일러 문서를 번역한 것입니다. 시그니처와 예제 코드는 원문을 따르며, 필요한 경우 설명에 편집상 수정이 반영됩니다.

## 구문

```ts
const isSemanticallyEqual: (d: SemanticDiff) => boolean
```

## 매개변수

**`d` `SemanticDiff`**

## 반환값

`boolean`

## 설명

`explained` 항목은 세지 않습니다. 그래서 [`ClassifiedSemanticDiff`](https://typeshade.dev/ko/api/classifiedsemanticdiff/)에 대해 이 함수가 true를 돌려주면 “선언된 변환을 제외하면 같다”는 뜻입니다.

## 함께 보기

- [`ClassifiedSemanticDiff`](https://typeshade.dev/ko/api/classifiedsemanticdiff/)
- [`semanticDiff`](https://typeshade.dev/ko/api/semanticdiff/)

## 소스

[`src/core/semantic-diff.ts`, 94행](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/semantic-diff.ts#L94), 커밋 af54ddad5 기준
