method KeyStack.prototype.indexOfimport { KeyStack } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/keyStack.ts?p=prototype.indexOf&s=KeyStack";indexOf(data: Data, digest: string): Promise<number>Given data and a digest, return the current index of the key in the keys passed the constructor that was used to generate the digest. If no key can be found, the method returns -1. Parametersdata: Data[src]digest: string[src]ReturnsPromise<number>[src]