// deno-fmt-ignore-file
import { Try } from './try/index.mjs';
export function FromBoolean(_context, _type, value) {
    const result = Try.TryBoolean(value);
    return Try.IsOk(result) ? result.value : value;
}
