Skip to main content
Version: v7.0.0

isEmpty

Check if value is empty


Import
import { isEmpty } from "@hyper-fetch/react"

Parameters

isEmpty(value: unknown)
Parameters
NameTypeDescription
value
unknown

any object or primitive

Returns

true when value is empty
boolean
React
On this page