Determines whether a specific key is present in a structure.
structKeyExists(structure, key)
returns boolean
struct.keyExists(key)
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| structure | struct | Yes | Name of structure to test | |
| key | string | Yes | Key to test |
structKeyExists(server, "os")
CF11+ calling the keyExists member function on a struct.
server.keyExists("os")