Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/jssm/jssm_util.d.ts>arr_uniq_p

Fast, easy Javascript finite state machines with visualizations; enjoy a one liner FSM instead of pages. MIT; Typescripted; 100% test coverage. Implements the FSL language.
Go to Latest
function arr_uniq_p
import { arr_uniq_p } from "https://deno.land/x/jssm@5.99.0/jssm_util.d.ts";

Predicate for validating an array for uniqueness. Not generally meant for external use.

Parameters

el: T
i: number
source: T[]

Returns

boolean