Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

196 B
Raw Blame
/**
 * @since 2.0.0
 */

import type { NonEmptyArray } from "../Array.ts"

/** @internal */
export const isArrayNonEmpty = <A>(self: ReadonlyArray<A>): self is NonEmptyArray<A> => self.length > 0