Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔀 ::[#251]FoundationUtil / notContains 제작 #254

Merged
merged 4 commits into from
Nov 11, 2023

Conversation

uuuunseo
Copy link
Member

💡 개요

FoundationUtil에 notContains를 제작

📃 작업내용

  • notContains extension 파일 추가

@uuuunseo uuuunseo added the ♻️ Refactor 코드 리팩토링 label Aug 25, 2023
@uuuunseo uuuunseo self-assigned this Aug 25, 2023
@uuuunseo uuuunseo linked an issue Aug 25, 2023 that may be closed by this pull request
@baekteun
Copy link
Member

PR 올릴때 타이틀 깃모지는 🔀 달아주세요 !

@uuuunseo uuuunseo changed the title ♻️ ::[#251]FoundationUtil / notContains 제작 :🔀: ::[#251]FoundationUtil / notContains 제작 Aug 25, 2023
@uuuunseo uuuunseo changed the title :🔀: ::[#251]FoundationUtil / notContains 제작 🔀 ::[#251]FoundationUtil / notContains 제작 Aug 25, 2023
baekteun
baekteun previously approved these changes Aug 25, 2023
@baekteun baekteun dismissed their stale review August 25, 2023 06:18

more review

import Foundation

public extension Collection where Element: Equatable {
func notContains(_ element: Element) -> Bool { !contains(element) }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고차함수 notContains도 만들어주세요

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

그건 어떻게 하는 건가요.....?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고차함수 contains() 알아보시면 되겠습니당

@uuuunseo uuuunseo merged commit 94e9018 into master Nov 11, 2023
2 checks passed
@uuuunseo uuuunseo deleted the 251-foundationutil-notcontains-make branch November 11, 2023 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
♻️ Refactor 코드 리팩토링
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FoundationUtil에 notContains 제작
4 participants