Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/casualdb/operator/collection.ts>CollectionOperator#findOne

Simple JSON "database" for Deno with type-safety! ⚡️
Latest
method CollectionOperator.prototype.findOne
import { CollectionOperator } from "https://deno.land/x/casualdb@v0.1.4/operator/collection.ts";

Find & return one element from the collection

Parameters

predicate: Predicate<Op>