Skip to the content

Suido水道

Turn pipes to connect the pumps and drains, through fixed levels or seeded puzzles.

Suido means water supply in Japanese. About the name

Contents

Reference · Playable board

suidoLanguageOffunction

The language a piece of text is in: Japanese for anything starting ja, English for everything else.

Import it

import { suidoLanguageOf } from "@johnmorrisdotca/suido/play";

Definition

function suidoLanguageOf(tag: string | null | undefined): SuidoLanguage

Parameters

NameTypeDescription
tagstring | null | undefined

A language tag such as en or ja-JP.

Returns

SuidoLanguage

The language a piece of text is in: Japanese for anything starting ja, English for everything else.

Examples

import { suidoLanguageOf } from "@johnmorrisdotca/suido/play";

console.log(suidoLanguageOf("ja-JP"));
ja

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/suido 1.7.0.