Glen Whitney
6f44567306
And also enhances the reflected type parsing so that the types of all implementations so far will parse.
8 lines
250 B
TypeScript
8 lines
250 B
TypeScript
import {Dependencies, Signature} from '../interfaces/type.js'
|
|
import {$reflect} from '../interfaces/type.js'
|
|
|
|
export const unequal =
|
|
<T>(dep: Dependencies<'equal', T>): Signature<'unequal', T> =>
|
|
(x, y) => !dep.equal(x, y)
|
|
$reflect!([unequal])
|