UNPKG
@agnos-ui/core
Version:
latest (0.11.0)
next (0.11.0-next.0)
0.11.0
0.11.0-next.0
0.10.0
0.10.0-next.4
0.10.0-next.3
0.10.0-next.2
0.10.0-next.1
0.10.0-next.0
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.9.0-next.0
0.8.1
0.8.0
0.8.0-next.1
0.8.0-next.0
0.7.1
0.7.0
0.7.0-next.0
0.6.0
0.6.0-next.2
0.6.0-next.1
0.6.0-next.0
0.5.0
0.5.0-next.0
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.4.0-next.1
0.4.0-next.0
0.3.1
0.3.0
0.2.0
0.1.1
0.1.0
0.0.1-alpha.11
0.0.1-alpha.10
0.0.1-alpha.9
0.0.1-alpha.8
0.0.1-alpha.7
0.0.1-alpha.6
0.0.1-alpha.5
0.0.1-alpha.4
0.0.1-alpha.3
0.0.1-alpha.2
0.0.1-alpha.1
0.0.1-alpha.0
Framework-agnostic headless component library.
www.agnosui.dev/latest/
AmadeusITGroup/AgnosUI
@agnos-ui/core
/
utils
/
func.d.ts
12 lines
(11 loc)
•
191 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
/** * A noop function */
export
declare
const
noop
:
() =>
void
;
/** * The identity function * *
@param
x
- the arg *
@returns
the arg */
export
declare
const
identity
: <T>
(
x
: T
) =>
T;