import type { NumericArray } from "@thi.ng/api" ; import { isNumber } from "@thi.ng/checks/is-number" ; import type { ComplexArray } from "./api.js" ; export const isComplex = ( buf ) : buf is ComplexArray => ! isNumber ( buf [ 0 ] ) ;