The Fauna service will be ending on May 30, 2025.

For more information on the service wind down, see our announcement and the Fauna Service End-of-Life FAQ.

Query.isEnvTypechecked()

Test if the queried database is typechecked.

Signature

Query.isEnvTypechecked() => Boolean

Description

Tests if the queried database is typechecked.

The method checks the database to which the query’s authentication secret is scoped.

Parameters

None

Return value

Type Description

Boolean

If true, the database is in typechecked. Otherwise, false.

Examples

Query.isEnvTypechecked()
true
\