2022-12-24 05:41:35 +00:00
|
|
|
import type { IsRealOp, IsSquareOp } from '../interfaces/predicate.js'
|
2022-12-23 12:52:56 +00:00
|
|
|
|
2022-12-24 05:41:35 +00:00
|
|
|
export const isReal: IsRealOp<number> = (a) => true
|
|
|
|
export const isSquare: IsSquareOp<number> = (a) => a >= 0
|