UNPKG

lean4-code-actions

Version:

Refactorings and snippets for Lean 4

6 lines (4 loc) 152 B
import { Bounds } from './index' export const inside = <N>(bounds: Bounds<N>) => (value: N) => { return value >= bounds.min && value <= bounds.max }