Skip to main content
Deno 2 is finally here 🎉️
Learn more
method FluentBundle.prototype.hasMessage
import { FluentBundle } from "https://deno.land/x/fluent@0.0.1/bundle/mod.ts";

Check if a message is present in the bundle.

Parameters

id: string
  • The identifier of the message to check.

Returns

boolean