function headimport { head } from "https://dotland.deno.dev/x/rambda@9.4.1/files/index.d.ts"; head(str: string): stringhead(str: ""): undefinedhead(list: readonly []): undefinedhead<T>(list: never[]): undefinedhead<T extends unknown[]>(array: T): FirstArrayElement<T>head<T extends readonly unknown[]>(array: T): FirstArrayElement<T>Parametersstr: stringReturnsstringParametersstr: ""ReturnsundefinedParameterslist: readonly []ReturnsundefinedType ParametersTParameterslist: never[]ReturnsundefinedType ParametersT extends unknown[]Parametersarray: TReturnsFirstArrayElement<T>Type ParametersT extends readonly unknown[]Parametersarray: TReturnsFirstArrayElement<T>