Preparing search index...
The search index is not available
@benneq/ts-utils
@benneq/ts-utils
@benneq/object
Brand
Type alias Brand<K, T>
Brand
<
K
,
T
>
:
K
&
{
__brand
:
T
;
}
Used to create branded types
Example
type
Currency
=
Brand
<
string
,
"Currency"
>
Type Parameters
K
T
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@benneq/ts-
utils
@benneq/array
@benneq/collections
@benneq/comparator
@benneq/crypto
@benneq/function
@benneq/iterable
@benneq/map
@benneq/mapper
@benneq/number
@benneq/object
@benneq/predicate
@benneq/promise
@benneq/range
@benneq/regexp
@benneq/set
@benneq/sorting
@benneq/string
@benneq/urlsearchparams
@benneq/validator
Brand
Drop
First
Entry
Falsy
Guard
Nullish
Object
Entry
Tree
Truthy
Tuple
Value
Or
Provider
copy
default
If
default
If
Falsy
default
If
Null
default
If
Nullish
default
If
Undefined
is
Array
Buffer
is
Boolean
is
Equal
To
is
Falsy
is
Not
Null
is
Not
Nullish
is
Not
Undefined
is
Null
is
Nullish
is
Object
is
Symbol
is
Truthy
is
Undefined
shallow
Equal
value
Or
Provider
Result
Generated using
TypeDoc
Used to create branded types
Example