UNPKG
enome
Version:
latest (4.5.0)
4.5.0
4.4.5
4.4.4
4.4.3
4.4.2
4.4.1
4.4.0
4.3.0
4.2.0
4.1.1
4.1.0
4.0.0
2.3.0
2.2.0
2.1.1
2.0.0
1.1.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
A genome generation and evolution library.
github.com/fiberwire/enome
fiberwire/enome
enome
/
lib
/
operators
/
mutation
/
sub.d.ts
3 lines
(2 loc)
•
160 B
TypeScript
View Raw
1
2
3
import
{
Genome
,
IGenomeOptions
}
from
'../../index'
;
export
declare
function
sub<T
extends
IGenomeOptions
>(
gen
:
Genome
<T>,
mutateChance
:
number
):
Genome
<T>;