import type { FnU2 } from "@thi.ng/api" ; import { MASKS } from "./constants.js" ; example param a param b export const defMask = ( a , b ) => ( ~ MASKS [ a ] & MASKS [ b ] ) >>> 0 ; param n param x export const maskL = ( n , x ) => ( x & MASKS [ n ] ) >>> 0 ; param n param x export const maskH = ( n , x ) => ( x & ~ MASKS [ n ] ) >>> 0 ;