Current section

Files

Jump to
lustre src lustre.erl
Raw

src/lustre.erl

-module(lustre).
-compile([no_auto_import, nowarn_unused_vars]).
-export([is_browser/0, is_registered/1]).
-export_type([app/3, error/0]).
-type app(FKS, FKT, FKU) :: any() | {gleam_phantom, FKS, FKT, FKU}.
-type error() :: app_already_started |
app_not_yet_started |
bad_component_name |
component_already_registered |
element_not_found |
not_a_browser.
-spec is_browser() -> boolean().
is_browser() ->
false.
-spec is_registered(binary()) -> boolean().
is_registered(_) ->
false.