codecIsType
codecIsType(
codec
,types
):boolean
Checks nested codec types against a type description string. Uses codec.toRawType()
internally.
Parameters
• codec: Codec
The codec to type check.
• types
An array of strings denoting types to check against.
Returns
boolean
Whether the codec type is any of the allowed types
.