UNPKG

@wesjet/function.js

Version:
15 lines (14 loc) 513 B
import * as tracing_1 from "@effect-ts/core/Tracing"; const fileName_1 = "packages/@wesjet/function.js/src/effect/Array.ts"; /** * Copyright (c) Wesbitty, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * */ import { Array, pipe } from '@effect-ts/core'; import * as O from './Option.js'; export * from '@effect-ts/core/Collections/Immutable/Array'; export const headUnsafe = (array) => (O.getUnsafe(Array.head(array)));