mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-23 22:59:09 +00:00
29 lines
1.1 KiB
JavaScript
Generated
29 lines
1.1 KiB
JavaScript
Generated
/* eslint-disable */
|
|
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
|
|
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
|
|
/** @typedef {{}} Operator_Is_EmptyInputs */
|
|
|
|
const en_operator_is_empty = /** @type {(inputs: Operator_Is_EmptyInputs) => LocalizedString} */ () => {
|
|
return /** @type {LocalizedString} */ (`is empty`)
|
|
};
|
|
|
|
const zh_operator_is_empty = /** @type {(inputs: Operator_Is_EmptyInputs) => LocalizedString} */ () => {
|
|
return /** @type {LocalizedString} */ (`为空`)
|
|
};
|
|
|
|
/**
|
|
* | output |
|
|
* | --- |
|
|
* | "is empty" |
|
|
*
|
|
* @param {Operator_Is_EmptyInputs} inputs
|
|
* @param {{ locale?: "en" | "zh" }} options
|
|
* @returns {LocalizedString}
|
|
*/
|
|
export const operator_is_empty = /** @type {((inputs?: Operator_Is_EmptyInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Operator_Is_EmptyInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
if (locale === "en") return en_operator_is_empty(inputs)
|
|
return zh_operator_is_empty(inputs)
|
|
}); |