2023-01-22 01:34:57 +00:00
|
|
|
import type {Signature} from '../interfaces/type.js'
|
2023-10-17 21:54:10 +00:00
|
|
|
import {$reflect} from '../interfaces/type.js'
|
2023-01-22 01:34:57 +00:00
|
|
|
|
2023-10-17 21:54:10 +00:00
|
|
|
export const isReal = (): Signature<'isReal', number> => (a) => true
|
|
|
|
export const isSquare = (): Signature<'isSquare', number> => (a) => a >= 0
|
|
|
|
|
|
|
|
$reflect!([isReal, isSquare])
|