@refinio/one.models
Preparing search index...
recipes/Leute/PersonDescriptions
isDescriptionOfType
Function isDescriptionOfType
isDescriptionOfType
<
T
extends
keyof
PersonDescriptionInterfaces
>
(
description
:
PersonDescriptionTypes
,
type
:
T
,
)
:
description
is
PersonDescriptionInterfaces
[
T
]
Checks if the description is of a specific description type.
Type Parameters
T
extends
keyof
PersonDescriptionInterfaces
Parameters
description
:
PersonDescriptionTypes
type
:
T
Returns
description
is
PersonDescriptionInterfaces
[
T
]
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
@refinio/one.models
Loading...
Checks if the description is of a specific description type.