Skip to main content
Module

x/web_bson/src/bson.ts>Timestamp.fromNumber

web_bson is a fork from mongodb/js-bson
Very Popular
Go to Latest
method Timestamp.fromNumber
Re-export
import { Timestamp } from "https://deno.land/x/web_bson@v0.2.4/src/bson.ts";

Returns a Timestamp representing the given number value, provided that it is a finite number. Otherwise, zero is returned.

Parameters

value: number