import { equiv as _equiv } from "@thi.ng/equiv" ; import { defOp1 , defOp2 } from "./ops.js" ; param ctx export const eq = defOp2 ( ( b , a ) => a === b ) ; param ctx export const equiv = defOp2 ( _equiv ) ; param ctx export const neq = defOp2 ( ( b , a ) => a !== b ) ; param ctx export const and = defOp2 ( ( b , a ) => ! ! a && ! ! b ) ; param ctx export const or = defOp2 ( ( b , a ) => ! ! a || ! ! b ) ; param ctx export const not = defOp1 ( ( x ) => ! x ) ; param ctx export const lt = defOp2 ( ( b , a ) => a < b ) ; param ctx export const gt = defOp2 ( ( b , a ) => a > b ) ; param ctx export const lteq = defOp2 ( ( b , a ) => a <= b ) ; param ctx export const gteq = defOp2 ( ( b , a ) => a >= b ) ; param ctx export const iszero = defOp1 ( ( x ) => x === 0 ) ; param ctx export const ispos = defOp1 ( ( x ) => x > 0 ) ; param ctx export const isneg = defOp1 ( ( x ) => x < 0 ) ; param ctx export const isnull = defOp1 ( ( x ) => x == null ) ;