Skip to main content
Latest
function randomHelper.getMinMaxInt
import { randomHelper } from "https://deno.land/x/m_utils@v1.0.5/mod.ts";
const { getMinMaxInt } = randomHelper;

获取一个n位数的最小值和最大值

Examples

获取4位数的最小值和最大值

 randomHelper.getMinMaxInt(4)

Parameters

optional
length: number = [UNSUPPORTED]

生成数据的长度n