UNPKG

@prefecthq/prefect-ui-library

Version:

This library is the Vue and Typescript component library for [Prefect 2](https://github.com/PrefectHQ/prefect) and [Prefect Cloud 2](https://www.prefect.io/cloud/). _The components and utilities in this project are not meant to be used independently_.

7 lines (6 loc) 258 B
/* eslint-disable prefer-arrow-callback */ import { MockFunction } from '@/services' import { uniform } from '@/utilities/math' export const randomNumber: MockFunction<number, [number?, number?]> = function(min = 0, max = 100) { return uniform(min, max) }