export function isCryptoKey()

in modules/material-management/src/cryptographic_material.ts [838:846]


export function isCryptoKey(dataKey: any): dataKey is AwsEsdkJsCryptoKey {
  return (
    dataKey &&
    'algorithm' in dataKey &&
    'type' in dataKey &&
    'usages' in dataKey &&
    'extractable' in dataKey
  )
}