Determines whether a specific key is present in a structure.
structKeyExists(structure, key)
→ returns boolean
struct.keyExists(key)
structKeyExists(server, "os")
Expected Result: YES
CF 11+ calling the keyExists member function on a struct.
server.keyExists("os")
Expected Result: YES
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.