UNPKG

rambdax

Version:

Extended version of Rambda - a lightweight, faster alternative to Ramda

16 lines (14 loc) 410 B
import {At as OAt} from '../Object/At' import {Key} from '../Any/Key' import {List} from './List' import {Boolean} from '../Boolean/Boolean' /** Get in `L` the type of an entry of key `K` @param L to extract from @param K to extract at @param strict (?=`1`) `0` to work with unions @returns [[Any]] @example */ export type At<L extends List, K extends Key, strict extends Boolean = 1> = OAt<L, K, strict>