famousSolvefunction
One famous solve by its id, or undefined.
Import it
import { famousSolve } from "@johnmorrisdotca/kyuubu/famous";
Definition
function famousSolve(id: string): FamousSolve | undefined
Parameters
| Name | Type | Description |
|---|---|---|
id | string | The recorded solve’s id. |
Returns
FamousSolve | undefined
The matching solve, or undefined when no record has this id.
Examples
import { FAMOUS_SOLVES, famousSolve } from "@johnmorrisdotca/kyuubu/famous";
console.log(famousSolve(FAMOUS_SOLVES[0]!.id)?.solver);Teodor ZajderWhat it prints (run when this page was built)