MCPcopy Create free account
hub / github.com/cryptii/cryptii / getVariant

Method getVariant

src/Encoder/ADFGXCipher.js:267–269  ·  view source on GitHub ↗

* Returns a variant for the given name. * @protected * @param {string} name Variant name * @return {object|null} Variant object or null, if unknown

(name)

Source from the content-addressed store, hash-verified

265 * @return {object|null} Variant object or null, if unknown
266 */
267 static getVariant (name) {
268 return variants.find(variant => variant.name === name) || null
269 }
270}

Callers 3

constructorMethod · 0.80
performDecodeMethod · 0.80
settingValueDidChangeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected