UNPKG
@zeix/ui-element
Version:
latest (0.14.0)
0.14.0
0.13.4
0.13.3
0.13.2
0.13.1
0.12.2
0.12.1
0.12.0
0.11.0
0.10.1
0.10.0
0.9.4
UIElement - minimal reactive framework based on Web Components
@zeix/ui-element
/
src
/
core
/
util.d.ts
5 lines
(4 loc)
•
281 B
TypeScript
View Raw
1
2
3
4
5
declare
const
isFunction
: <T>
(
value
:
unknown
) =>
value
is
(...
args
:
unknown
[]) => T;
declare
const
isDefinedObject
:
(
value
:
unknown
) =>
value is
Record
<
string
,
unknown
>;
declare
const
isString
:
(
value
:
unknown
) =>
value is
string
;
export
{ isFunction, isDefinedObject, isString };