myActionDescriptor.haskey( key ) in Photoshop DOM

does the descriptor contain the provided key?

Arguments

nametypedescription
key Number
Return Type
Boolean