Returns all the values as an array
structValueArray(structure)
→ returns array
statusCodes = {
OK = 200,
CREATED = 201,
NOT_MODIFIED = 304,
BAD_REQUEST = 400,
NOT_FOUND = 404
};
writeDump(structValueArray(statusCodes));
Expected Result: [200, 201, 304, 400, 404]
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.