We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
인자로 받은 value가 원시값이 아닌 참조형인지 판단하는 isReference 함수와 일반 객체인지 판단하는 isPlainObject
isReference
isPlainObject
isReference({}); // true isReference([]); // true isReference(new Set()); // true isReference(new Map()); // true
isPlainObject({}); // true isPlainObject([]); // false isPlainObject(new Set()); // false isPlainObject(new Map()); // false
The text was updated successfully, but these errors were encountered:
안녕하세요, 제가 isReference와 isPlainObject 유틸 함수를 구현해 보아도 될지 여쭙고 싶습니다! 감사합니다.
Sorry, something went wrong.
@Gaic4o 라이브러리에 관심을 가져주셔서 정말 감사합니다 👍 작업자 할당했씁니다.
!isPrimitive()
isReference(value) && value.constructor === Object
object
위 생각은 참고용으로 봐주시고, 더 좋은 아이디어 및 방향성이 있다면 말씀해주세요! 감사합니다. 이슈가 묶여이긴 하지만 PR은 각각 생성해주시면 감사드릴게요!
좋은 훅과 유틸 함수를 제공해 주셔서 많이 배우고 있습니다. 친절한 답변과 작업 할당에 감사드립니다. 안내해 주신 내용으로 구현해 보도록 하겠습니다!
Gaic4o
No branches or pull requests
Package Scope
Overview
인자로 받은 value가 원시값이 아닌 참조형인지 판단하는
isReference
함수와 일반 객체인지 판단하는isPlainObject
The text was updated successfully, but these errors were encountered: