Skip to main content
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>