Qurak

KeyExistsQ

ใช้งานได้

Checks if a key exists in an association

KeyExistsQ[assoc, key]
KeyExistsQ[key]
myHash = <|"Green" -> 2, "Red" -> 1|>; KeyExistsQ[myHash, "Red"] → True

หัวข้อ

ที่เกี่ยวข้อง

ฟังก์ชันทั้งหมด 6300 รายการ · ใช้สิ่งนี้จากไคลเอนต์ MCP