UNPKG
@sebgroup/frontend-tools
Version:
latest (2.2.2)
2.2.2
2.2.1
2.2.0
2.1.1
2.1.0
2.0.2
2.0.1
2.0.0
1.8.4
1.8.3
1.8.2
1.8.1
1.8.0
1.7.5
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.6.0
1.5.0
1.4.0
1.3.0
1.2.0
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
0.0.0-semantically-released
A set of frontend tools
github.com/sebgroup/frontend-tools
sebgroup/frontend-tools
@sebgroup/frontend-tools
/
isPrimitive
/
isPrimitive.d.ts
7 lines
(6 loc)
•
241 B
TypeScript
View Raw
1
2
3
4
5
6
7
/** * Verifies if a value is primitive (string, number, boolean) *
@param
{any} value The value to be tested *
@returns
{boolean} True if it's primitive, false otherwise */
export
declare
function
isPrimitive
(
value: any
):
boolean
;